From 0aa54a7e673dc6f60dd5b4003b3149a7e5d2d2a9 Mon Sep 17 00:00:00 2001 From: Mawoka Date: Sun, 12 Jun 2022 12:12:06 +0200 Subject: [PATCH] :rotating_light: Last time linter fix --- frontend/src/lib/i18n/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/lib/i18n/index.ts b/frontend/src/lib/i18n/index.ts index a71823c..7b04e83 100644 --- a/frontend/src/lib/i18n/index.ts +++ b/frontend/src/lib/i18n/index.ts @@ -8,7 +8,7 @@ export type I18nContext = { t: Readable; currentLanguage: Writable; }; - +const CONTEXT_KEY = 't'; export const setLocalization = (context: I18nContext) => { return setContext(CONTEXT_KEY, context); }; @@ -33,4 +33,3 @@ export const initLocalizationContext = () => { i18n }; }; -const CONTEXT_KEY = 't';