ghost-portal/packages/apps-routing/src/staking.ts
Jaco Greeff 14183c611d
Bump API (#2379)
* Bump API

* Bump
2020-03-13 20:32:00 +01:00

26 lines
594 B
TypeScript

// Copyright 2017-2020 @polkadot/apps-routing 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 { Routes } from './types';
// import Staking from '@polkadot/app-staking';
import Staking, { useCounter } from '@polkadot/app-staking';
export default ([
{
Component: Staking,
useCounter,
display: {
needsApi: [
['tx.staking.bond']
]
},
i18n: {
defaultValue: 'Staking'
},
icon: 'certificate',
name: 'staking'
}
] as Routes);