vega-frontend-monorepo/apps/trading/lib/use-t.ts

5 lines
193 B
TypeScript
Raw Permalink Normal View History

import { useTranslation } from 'react-i18next';
export const ns = 'trading';
export const useT = () => useTranslation('trading').t;
export const useI18n = () => useTranslation('trading').i18n;