Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddecentage committed Mar 3, 2025
1 parent 10a0349 commit 9d4d790
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/frontend/src/lib/components/core/Menu.svelte
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<script lang="ts">
import { IconUser, Popover } from '@dfinity/gix-components';
import { nonNullish } from '@dfinity/utils';
import type { NavigationTarget } from '@sveltejs/kit';
import { onMount } from 'svelte';
import { afterNavigate } from '$app/navigation';
import { page } from '$app/stores';
import AboutWhyOisy from '$lib/components/about/AboutWhyOisy.svelte';
import MenuAddresses from '$lib/components/core/MenuAddresses.svelte';
Expand Down Expand Up @@ -39,8 +37,6 @@
let visible = false;
let button: HTMLButtonElement | undefined;
let fromRoute: NavigationTarget | null;
let isVip = false;
onMount(async () => {
if (nonNullish($authIdentity)) {
Expand All @@ -52,10 +48,6 @@
}
});
afterNavigate(({ from }) => {
fromRoute = from;
});
const hidePopover = () => (visible = false);
let settingsRoute = false;
Expand Down

0 comments on commit 9d4d790

Please sign in to comment.