ghost-portal/packages/apps-routing/src/crowdloan.ts
Jaco Greeff 024c03ba9b
Crowdloans (#4613)
* Crowdloans

* update icon

* crowdloads -> crowdloan

* Overview start

* Fund indexes

* Fund displays stucture

* Fund view

* Fund view expanded

* Update packages/page-crowdloan/src/useFundIndexes.ts

* Add skeleton

* useEventTrigger

* Cleanups

* Fund proposal

* Registrar

* Adjust current versions

* Update README.md
2021-02-06 11:24:04 +01:00

23 lines
538 B
TypeScript

// Copyright 2017-2021 @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-crowdloan';
export default function create (t: TFunction): Route {
return {
Component,
display: {
needsApi: [
'query.crowdloan.funds'
]
},
group: 'network',
icon: 'coins',
name: 'crowdloan',
text: t('nav.crowdloan', 'Crowdloan', { ns: 'apps-routing' })
};
}