Skip to content

Commit

Permalink
Fix default behavior of navbar on phone
Browse files Browse the repository at this point in the history
  • Loading branch information
IMXNOOBX committed Apr 3, 2024
1 parent f30bdc0 commit 0a29062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function Navbar() {
if (state != undefined)
setNavOpen(state == 'true');
else
setNavOpen(window.innerWidth > 640);
setNavOpen(window.innerWidth > 640); // By default on phone do not show the nav open

fetch('/api/quote')
.then(res => res.json())
Expand Down

0 comments on commit 0a29062

Please sign in to comment.