From fb825a485ad3c791086aa2af6fcb3d58c206b5c2 Mon Sep 17 00:00:00 2001
From: ThatOneCalculator <kainoa@t1c.dev>
Date: Mon, 7 Nov 2022 00:02:48 -0800
Subject: [PATCH] gah

---
 package.json                         |  2 +-
 packages/client/src/ui/universal.vue | 19 ++++++++-----------
 2 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/package.json b/package.json
index 838e6110c..7eacc0110 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
 	"name": "calckey",
-	"version": "12.119.0-calc.9-rc.10",
+	"version": "12.119.0-calc.9.9",
 	"codename": "aqua",
 	"repository": {
 		"type": "git",
diff --git a/packages/client/src/ui/universal.vue b/packages/client/src/ui/universal.vue
index 1d26192bb..e3fee4dd6 100644
--- a/packages/client/src/ui/universal.vue
+++ b/packages/client/src/ui/universal.vue
@@ -109,17 +109,6 @@ window.addEventListener('resize', () => {
 
 let buttonAnimIndex = 0;
 
-watch($$(mainRouter.currentRoute.value.name), () => {
-	let routerState = mainRouter.currentRoute.value.name;
-	console.log(routerState);
-	const bottomButtons = ['index', 'notifications', 'messaging'];
-	bottomButtons.forEach(i => {
-		if (routerState.includes(i)) {
-			buttonAnimIndex = bottomButtons.findIndex(j => j.includes(i));
-		}
-	});
-});
-
 let pageMetadata = $ref<null | ComputedRef<PageMetadata>>();
 const widgetsEl = $ref<HTMLElement>();
 const postButton = $ref<HTMLElement>();
@@ -145,6 +134,14 @@ const drawerMenuShowing = ref(false);
 
 mainRouter.on('change', () => {
 	drawerMenuShowing.value = false;
+	let routerState = mainRouter.currentRoute.value.name;
+	console.log(routerState);
+	const bottomButtons = ['index', 'notifications', 'messaging'];
+	bottomButtons.forEach(i => {
+		if (routerState.includes(i)) {
+			buttonAnimIndex = bottomButtons.findIndex(j => j.includes(i));
+		}
+	});
 });
 
 document.documentElement.style.overflowY = 'scroll';