From 3010dd7000126654092d95c127ef7361c2a4e977 Mon Sep 17 00:00:00 2001
From: Owen Jacobson <owen@grimoire.ca>
Date: Sat, 2 Nov 2024 21:26:41 -0400
Subject: Address outstanding lint issues.

---
 ui/routes/(app)/+layout.svelte | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

(limited to 'ui/routes/(app)/+layout.svelte')

diff --git a/ui/routes/(app)/+layout.svelte b/ui/routes/(app)/+layout.svelte
index 9843979..f860a6d 100644
--- a/ui/routes/(app)/+layout.svelte
+++ b/ui/routes/(app)/+layout.svelte
@@ -12,14 +12,6 @@
 
 	let loading = true;
 	let events = null;
-	let showMenuValue;
-	showMenu.subscribe((value) => {
-		showMenuValue = value;
-	});
-
-	function toggleMenu() {
-		showMenu.update((value) => !value);
-	}
 
 	$: channel = $page?.params?.channel;
 
@@ -70,7 +62,7 @@
 	<h2>Loading&hellip;</h2>
 {:else}
 	<div id="interface" class="p-2">
-		<nav id="sidebar" data-expanded={showMenuValue}>
+		<nav id="sidebar" data-expanded={$showMenu}>
 			<div class="channel-list">
 				<ChannelList active={channel} />
 			</div>
@@ -120,11 +112,6 @@
 		height: calc(100vh - var(--app-bar-height) - var(--interface-padding));
 		z-index: 10;
 	}
-	nav button {
-		position: absolute;
-		top: 0;
-		right: 0;
-	}
 	main {
 		grid-area: main;
 		height: calc(100vh - var(--app-bar-height) - var(--interface-padding));
-- 
cgit v1.2.3

