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