Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Handle navbar sizing serverside
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent 672cd0c commit 8ac83ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/Navigation.tsx
Expand Up @@ -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 (
Expand Down

0 comments on commit 8ac83ae

Please sign in to comment.