Co-authored-by: sealday <sealday@gmail.com> Reviewed-on: daoyoucloud/tachybase#1340
8 lines
203 B
TypeScript
8 lines
203 B
TypeScript
import { useTranslation as useT } from '@tachybase/client';
|
|
|
|
import { namespace } from '../constants';
|
|
|
|
export function useTranslation() {
|
|
return useT([namespace, 'client'], { nsMode: 'fallback' });
|
|
}
|