### What problem does this PR solve? change language Issue link: #245 - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@@ -119,3 +119,7 @@ export const useShowDeleteConfirm = () => {
|
||||
export const useTranslate = (keyPrefix: string) => {
|
||||
return useTranslation('translation', { keyPrefix });
|
||||
};
|
||||
|
||||
export const useCommonTranslation = () => {
|
||||
return useTranslation('translation', { keyPrefix: 'common' });
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user