ghost-portal/packages/app-123code/src/translate.ts
Jaco Greeff 1edab85522
Some useTranslation updates (#2097)
* Some useTranslation updates

* AccountName caching
2020-01-09 14:51:58 +01:00

12 lines
466 B
TypeScript

// Copyright 2017-2020 @polkadot/app-123code authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { useTranslation as useTranslationBase, UseTranslationResponse, withTranslation } from 'react-i18next';
export function useTranslation (): UseTranslationResponse {
return useTranslationBase('app-123code');
}
export default withTranslation(['app-123code']);