11 lines
373 B
TypeScript
11 lines
373 B
TypeScript
// Copyright 2017-2023 @polkadot/app-runtime 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<'app-runtime', undefined> {
|
|
return useTranslationBase('app-runtime');
|
|
}
|