diff --git a/components/HeaderMenu/HeaderMenu.tsx b/components/HeaderMenu/HeaderMenu.tsx index d1510d3f..ffd006d7 100644 --- a/components/HeaderMenu/HeaderMenu.tsx +++ b/components/HeaderMenu/HeaderMenu.tsx @@ -44,7 +44,7 @@ const useStyles = createStyles((theme) => ({ })); interface HeaderSearchProps { - links: { link: string; label: string; links: { link: string; label: string }[] }[]; + links: { link: string; label: string; links?: { link: string; label: string }[] }[]; } export function HeaderMenu({ links }: HeaderSearchProps) {