mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-05-27 02:25:10 +00:00
rework routes
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
import App from '$lib/components/App.svelte';
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<App />
|
|
||||||
+2
@@ -4,7 +4,9 @@
|
|||||||
import { locale } from 'svelte-i18n';
|
import { locale } from 'svelte-i18n';
|
||||||
import { page } from '$app/stores';
|
import { page } from '$app/stores';
|
||||||
|
|
||||||
|
if ($page.params.language) {
|
||||||
locale.set($page.params.language);
|
locale.set($page.params.language);
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<App />
|
<App />
|
||||||
Reference in New Issue
Block a user