From 7043100a695869321fb22d2bbce9b70eb17900a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Erik=20St=C3=B8wer?= Date: Wed, 27 Dec 2023 15:27:40 +0100 Subject: [PATCH] Formatting --- src/localization/localization.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/localization/localization.js b/src/localization/localization.js index 75d9b98db..71305189d 100644 --- a/src/localization/localization.js +++ b/src/localization/localization.js @@ -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 }; };