diff --git a/src/components/layout/Navbar/index.jsx b/src/components/layout/Navbar/index.jsx index b5883517..de7a0067 100644 --- a/src/components/layout/Navbar/index.jsx +++ b/src/components/layout/Navbar/index.jsx @@ -92,14 +92,16 @@ const NavigationLinks = ({ style, open, setOpen, links, cta }) => { {link.name} ))} - setOpen(false)} - > - {cta ? cta.name : 'Partner'} - + {cta && ( + setOpen(false)} + > + {cta ? cta.name : 'Partner'} + + )} ); }; diff --git a/src/components/layout/index.jsx b/src/components/layout/index.jsx index a9edc799..5bcc25ea 100644 --- a/src/components/layout/index.jsx +++ b/src/components/layout/index.jsx @@ -25,12 +25,13 @@ export { const Layout = ({ content, children }) => { return ( <> - + + {/* */}
{children} - + {/* */}