diff --git a/client/shared/i18n/__mocks__/index.ts b/client/shared/i18n/__mocks__/index.ts index f212bdec0a5..db70b659b8e 100644 --- a/client/shared/i18n/__mocks__/index.ts +++ b/client/shared/i18n/__mocks__/index.ts @@ -3,3 +3,7 @@ export const t = (key: string) => { }; export function onLanguageChanged() {} + +export function useTranslation() { + return { t }; +}