diff --git a/frontend/src/lib/components/DeveloperPanel.svelte b/frontend/src/lib/components/DeveloperPanel.svelte deleted file mode 100644 index 43c1187..0000000 --- a/frontend/src/lib/components/DeveloperPanel.svelte +++ /dev/null @@ -1,128 +0,0 @@ - - -{#if import.meta.env.DEV} -
-
- -
- {#if visible} -
-

Developer Panel

-

Links

- -

Toast

- -
-

Global State

- - {#each Object.entries(state) as [key, value]} - - - - - {/each} -
{key} - {#if typeof value === 'object'} -
{JSON.stringify(value, null, 2)}
- {:else} -

- {value} -

- {/if} -
-
-
- {/if} -
-{/if} diff --git a/frontend/src/routes/+layout.svelte b/frontend/src/routes/+layout.svelte index a7de650..3d00e8f 100644 --- a/frontend/src/routes/+layout.svelte +++ b/frontend/src/routes/+layout.svelte @@ -3,7 +3,7 @@ import { onMount, tick } from 'svelte'; import { page } from '$app/stores'; import { beforeNavigate, goto } from '$app/navigation'; - import DeveloperPanel from '$lib/components/DeveloperPanel.svelte'; + import { Session } from '$lib/service/session'; import { AppStateService } from '$lib/service/appState'; import { UserService } from '$lib/service/user'; @@ -237,7 +237,6 @@
-