Skip to content

Commit

Permalink
feat: Make Nav Visible by Default on Clean Install 🧭 (#1309)
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-avila authored Dec 8, 2023
1 parent 20b93ad commit 9041fe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/routes/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function Root() {
const { isAuthenticated } = useAuthContext();
const [navVisible, setNavVisible] = useState(() => {
const savedNavVisible = localStorage.getItem('navVisible');
return savedNavVisible !== null ? JSON.parse(savedNavVisible) : false;
return savedNavVisible !== null ? JSON.parse(savedNavVisible) : true;
});

const submission = useRecoilValue(store.submission);
Expand Down

0 comments on commit 9041fe7

Please sign in to comment.