]> git.r.bdr.sh - rbdr/forum/blobdiff - src/lib/components/language_selector/language_selector.svelte
Apply formatting
[rbdr/forum] / src / lib / components / language_selector / language_selector.svelte
index 64a4ef9e14fb7ea2187d1bdf2d2b5d0bba42390a..4e245f83d4ceb8b89817d720296ad44222d263d8 100644 (file)
@@ -3,16 +3,16 @@
        import { getLangNameFromCode } from 'language-name-map';
 
        $: namedLocales = $locales
-         .map((code) => ({
-           code,
-           ...getLangNameFromCode(code)
-         }))
-         .sort((a, b) => a.native - b.native);
+               .map((code) => ({
+                       code,
+                       ...getLangNameFromCode(code)
+               }))
+               .sort((a, b) => a.native - b.native);
 
-  let selected = $locale
+       let selected = $locale;
 
        $: {
-         locale.set(selected);
+               locale.set(selected);
        }
 </script>