@polkadot/react-query
Version:
A collection of RxJs React components the Polkadot JS API
20 lines (15 loc) • 578 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.useTranslation = useTranslation;
exports.default = void 0;
var _reactI18next = require("react-i18next");
// Copyright 2017-2020 @polkadot/react-query authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
function useTranslation() {
return (0, _reactI18next.useTranslation)('react-query');
}
var _default = (0, _reactI18next.withTranslation)(['react-query']);
exports.default = _default;