Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
testower committed Dec 27, 2023
1 parent d92dd2d commit 7043100
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/localization/localization.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ const localization = async (locale) => {
const localStorageKey = "ABZU::settings::locale";
const preferredLocale =
locale || localStorage.getItem(localStorageKey) || "en";
const messages = await import(
`../static/lang/${preferredLocale}.json`
);
const messages = await import(`../static/lang/${preferredLocale}.json`);
localStorage.setItem(localStorageKey, preferredLocale);
return { locale: preferredLocale, messages };
};
Expand Down

0 comments on commit 7043100

Please sign in to comment.