Skip to content

Commit 49d6e05

Browse files
committed
style: fix formatting issues in package.json and LocaleSwitcher
1 parent 41c032d commit 49d6e05

2 files changed

Lines changed: 30 additions & 9 deletions

File tree

package.json

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,17 @@
7878
"target": [
7979
{
8080
"target": "dmg",
81-
"arch": ["x64", "arm64"]
81+
"arch": [
82+
"x64",
83+
"arm64"
84+
]
8285
},
8386
{
8487
"target": "zip",
85-
"arch": ["x64", "arm64"]
88+
"arch": [
89+
"x64",
90+
"arm64"
91+
]
8692
}
8793
]
8894
},
@@ -91,11 +97,17 @@
9197
"target": [
9298
{
9399
"target": "nsis",
94-
"arch": ["x64", "arm64"]
100+
"arch": [
101+
"x64",
102+
"arm64"
103+
]
95104
},
96105
{
97106
"target": "portable",
98-
"arch": ["x64", "arm64"]
107+
"arch": [
108+
"x64",
109+
"arm64"
110+
]
99111
}
100112
]
101113
},
@@ -104,15 +116,24 @@
104116
"target": [
105117
{
106118
"target": "AppImage",
107-
"arch": ["x64", "arm64"]
119+
"arch": [
120+
"x64",
121+
"arm64"
122+
]
108123
},
109124
{
110125
"target": "deb",
111-
"arch": ["x64", "arm64"]
126+
"arch": [
127+
"x64",
128+
"arm64"
129+
]
112130
},
113131
{
114132
"target": "rpm",
115-
"arch": ["x64", "arm64"]
133+
"arch": [
134+
"x64",
135+
"arm64"
136+
]
116137
}
117138
],
118139
"category": "Utility"

src/lib/components/LocaleSwitcher.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ function handleLocaleChange(locale: Locale) {
3838
dropdownOpen = false;
3939
return;
4040
}
41-
41+
4242
// Save to localStorage first (Paraglide also saves to its own key and cookie)
4343
if (browser) {
4444
localStorage.setItem(LOCALE_STORAGE_KEY, locale);
4545
}
46-
46+
4747
// Use setLocale which will save to PARAGLIDE_LOCALE localStorage and cookie,
4848
// then reload the page to reflect the new locale (required for static sites)
4949
setLocale(locale);

0 commit comments

Comments
 (0)