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

This commit is contained in:
josefaidt 2020-12-09 08:56:44 -06:00
commit 01970d361a
3 changed files with 8 additions and 1 deletions

View file

@ -10,6 +10,9 @@
/** Set to `true` to toggle the expanded state */
export let isOpen = false;
import { shouldRenderHamburgerMenu } from "../navStore";
shouldRenderHamburgerMenu.set(true);
</script>
{#if fixed}