From fc73108b07e61ab0159ada120f2fb60c430b1d4c Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 5 Nov 2024 19:25:20 -0500 Subject: Move `showMenu` out of globals and into page state. I generally don't love globals, and the scope of this global is pretty narrow. Let's use the context hierarchy for this, instead. (Kit mentioned that it might be possible to use CSS variables for this.) --- ui/routes/(app)/+layout.svelte | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ui/routes/(app)/+layout.svelte') diff --git a/ui/routes/(app)/+layout.svelte b/ui/routes/(app)/+layout.svelte index ae3dc6a..0a8c58d 100644 --- a/ui/routes/(app)/+layout.svelte +++ b/ui/routes/(app)/+layout.svelte @@ -1,16 +1,17 @@