From afbe98090a90ae7770c3a319b8a30c1d23cfbbc3 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Tue, 11 Oct 2022 12:56:55 +0800
Subject: refactor: Only show LocaleSwitcher on public layout

---
 code/app/src/routes/(main)/+layout.svelte | 2 --
 1 file changed, 2 deletions(-)

(limited to 'code/app/src/routes/(main)/+layout.svelte')

diff --git a/code/app/src/routes/(main)/+layout.svelte b/code/app/src/routes/(main)/+layout.svelte
index 1a870bb..7d4ce05 100644
--- a/code/app/src/routes/(main)/+layout.svelte
+++ b/code/app/src/routes/(main)/+layout.svelte
@@ -1,7 +1,6 @@
 <script lang="ts">
     import "../../app.pcss";
     import { setLocale } from "$lib/i18n/i18n-svelte";
-    import LocaleSwitcher from "$lib/components/locale-switcher.svelte";
     import { ExclamationTriangleIcon } from "$lib/components/icons";
     import type { LayoutData } from "./$types";
 
@@ -25,5 +24,4 @@
     </div>
 {/if}
 
-<LocaleSwitcher />
 <slot />
-- 
cgit v1.3

