优化
This commit is contained in:
9
client/shared/i18n/__mocks__/index.ts
Normal file
9
client/shared/i18n/__mocks__/index.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export const t = (key: string) => {
|
||||
return key;
|
||||
};
|
||||
|
||||
export function onLanguageChanged() {}
|
||||
|
||||
export function useTranslation() {
|
||||
return { t };
|
||||
}
|
||||
Reference in New Issue
Block a user