ghost-portal/packages/apps-routing/src/techcomm.ts
Jaco Greeff 79de1162ea
useTranslation Suspense fallback (#2158)
* useTranslation Suspense fallback

* import path

* Some small useTranslation conversions
2020-01-20 17:20:04 +01:00

25 lines
568 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 TechComm, { useCounter } from '@polkadot/app-tech-comm';
export default ([
{
Component: TechComm,
useCounter,
display: {
needsApi: [
'query.technicalCommittee.members'
]
},
i18n: {
defaultValue: 'Tech. comm.'
},
icon: 'microchip',
name: 'techcomm'
}
] as Routes);