mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00
feat: Make Nav Visible by Default on Clean Install 🧭 (#1309)
This commit is contained in:
parent
20b93ad065
commit
9041fe7472
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ export default function Root() {
|
||||||
const { isAuthenticated } = useAuthContext();
|
const { isAuthenticated } = useAuthContext();
|
||||||
const [navVisible, setNavVisible] = useState(() => {
|
const [navVisible, setNavVisible] = useState(() => {
|
||||||
const savedNavVisible = localStorage.getItem('navVisible');
|
const savedNavVisible = localStorage.getItem('navVisible');
|
||||||
return savedNavVisible !== null ? JSON.parse(savedNavVisible) : false;
|
return savedNavVisible !== null ? JSON.parse(savedNavVisible) : true;
|
||||||
});
|
});
|
||||||
|
|
||||||
const submission = useRecoilValue(store.submission);
|
const submission = useRecoilValue(store.submission);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue