Skip to content

Commit

Permalink
chore: fix useTranslation ci problem which cause error in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Sep 1, 2024
1 parent c33dbd2 commit 7c902ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/shared/i18n/__mocks__/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ export const t = (key: string) => {
};

export function onLanguageChanged() {}

export function useTranslation() {
return { t };
}

0 comments on commit 7c902ca

Please sign in to comment.