diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index c89d89d..392498d 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -43,10 +43,6 @@ export default function Layout() {
diff --git a/src/components/ui/NavbarInline.tsx b/src/components/ui/NavbarInline.tsx index c7c7415..8ff7000 100644 --- a/src/components/ui/NavbarInline.tsx +++ b/src/components/ui/NavbarInline.tsx @@ -3,7 +3,7 @@ import Button from "@/components/ui/Button"; interface NavbarInlineProps { logo: string; navItems: { name: string; href: string }[]; - ctaButton: { text: string; href: string }; + ctaButton?: { text: string; href: string }; } const handleNavClick = (e: React.MouseEvent, href: string, onClose?: () => void) => { @@ -34,10 +34,10 @@ const NavbarInline = ({ logo, navItems, ctaButton }: NavbarInlineProps) => { ))} -