Tatiana Inama пре 7 година
родитељ
комит
9c954f287e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      recipes/src/components/Navbar/index.tsx

+ 1 - 1
recipes/src/components/Navbar/index.tsx

@@ -8,7 +8,7 @@ type NavbarProps = {
     label: string,
     onClick: () => void,
   }[],
-  children?: ReactElement[],
+  children?: ReactElement | ReactElement[],
   contentClassName?: string,
 }
 export default function Navbar(props: NavbarProps){