ghost-portal/packages/apps-routing/src/collator.ts
Jaco 4929b1c6fd
Update headers for 2023 (#8665)
* Update headers for 2023

* Adjust env-config
2023-01-01 10:32:05 +02:00

23 lines
555 B
TypeScript

// Copyright 2017-2023 @polkadot/apps-routing authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { TFunction } from 'i18next';
import type { Route } from './types';
import Component from '@polkadot/app-collator';
export default function create (t: TFunction): Route {
return {
Component,
display: {
needsApi: [
'query.collatorSelection.candidacyBond'
]
},
group: 'network',
icon: 'timeline',
name: 'collators',
text: t('nav.collator', 'Collators', { ns: 'apps-routing' })
};
}