mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-05-27 10:35: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 />
|
||||
+3
-1
@@ -4,7 +4,9 @@
|
||||
import { locale } from 'svelte-i18n';
|
||||
import { page } from '$app/stores';
|
||||
|
||||
locale.set($page.params.language);
|
||||
if ($page.params.language) {
|
||||
locale.set($page.params.language);
|
||||
}
|
||||
</script>
|
||||
|
||||
<App />
|
||||
Reference in New Issue
Block a user