ghost-portal/packages/apps/src/translate.ts
Jaco Greeff c1c87d2aeb
Internal deps bumps (#4194)
* Internal deps bumps

* acala
2020-12-11 12:47:59 +01:00

11 lines
359 B
TypeScript

// Copyright 2017-2020 @polkadot/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { UseTranslationResponse } from 'react-i18next';
import { useTranslation as useTranslationBase } from 'react-i18next';
export function useTranslation (): UseTranslationResponse<string> {
return useTranslationBase(['apps', 'apps-routing']);
}