tachybase_todo/packages/plugins/@tachybase/plugin-dingtalk/src/client/locale.tsx

8 lines
203 B
TypeScript
Raw Normal View History

import { useTranslation as useT } from '@tachybase/client';
import { namespace } from '../constants';
export function useTranslation() {
return useT([namespace, 'client'], { nsMode: 'fallback' });
}