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';