Skip to content

Commit 6e2221a

Browse files
authored
feat: Make Nav Visible by Default on Clean Install 🧭 (danny-avila#1309)
1 parent 85356f9 commit 6e2221a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/routes/Root.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function Root() {
1414
const { isAuthenticated } = useAuthContext();
1515
const [navVisible, setNavVisible] = useState(() => {
1616
const savedNavVisible = localStorage.getItem('navVisible');
17-
return savedNavVisible !== null ? JSON.parse(savedNavVisible) : false;
17+
return savedNavVisible !== null ? JSON.parse(savedNavVisible) : true;
1818
});
1919

2020
const submission = useRecoilValue(store.submission);

0 commit comments

Comments
 (0)