diff --git a/svelte-ui/src/components/Menu.svelte b/svelte-ui/src/components/Menu.svelte
index fc983dd..296d4a1 100644
--- a/svelte-ui/src/components/Menu.svelte
+++ b/svelte-ui/src/components/Menu.svelte
@@ -2,14 +2,6 @@
import { link } from "svelte-routing";
import selectionStore from "../stores/selection";
- export let location: string = window.location.pathname.split("?")[0];
-
- function updateLocation() {
- setTimeout(() => {
- location = window.location.pathname.split("?")[0];
- }, 0);
- }
-
$: selected = {
home: $selectionStore.path === "/",
goals: $selectionStore.path.startsWith("/goals"),
@@ -21,12 +13,12 @@