diff --git a/components/Navigation.tsx b/components/Navigation.tsx index e8bf9ef..f1da9fd 100644 --- a/components/Navigation.tsx +++ b/components/Navigation.tsx @@ -42,11 +42,12 @@ export default function (props: { email?: string; hide?: boolean; id?: string; + mobile?: string; permissions?: number; username?: string; }) { let data = { ...props }; - const isDesktop = useBreakpointValue({ base: false, lg: true }); + const isDesktop = props.mobile === "?0"; const { isOpen, onClose, onOpen } = useDisclosure(); return (