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' });
|
||
|
}
|