feat(UIShell): only render hamburger menu if SideNav exists (#457)

* feat(UIShell): only render hamburger menu if SideNav exists

* feat(SideNav): store logic moved to onMount
This commit is contained in:
josef 2020-12-09 11:14:32 -06:00 committed by GitHub
commit a9e63e0038
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 1 deletions

3
src/UIShell/navStore.js Normal file
View file

@ -0,0 +1,3 @@
import { writable } from "svelte/store";
export const shouldRenderHamburgerMenu = writable(false);