From a567afec85513e093df80c1840bcb411192ee5e5 Mon Sep 17 00:00:00 2001 From: dyegoaurelio <42411160+dyegoaurelio@users.noreply.github.com> Date: Sun, 26 Feb 2023 23:39:50 -0300 Subject: [PATCH] fix HeaderMenuColored ts prop type --- components/HeaderMenuColored/HeaderMenuColored.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/HeaderMenuColored/HeaderMenuColored.tsx b/components/HeaderMenuColored/HeaderMenuColored.tsx index 6619a55b..2de9fa0b 100644 --- a/components/HeaderMenuColored/HeaderMenuColored.tsx +++ b/components/HeaderMenuColored/HeaderMenuColored.tsx @@ -52,7 +52,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 HeaderMenuColored({ links }: HeaderSearchProps) {