* 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
23 lines
538 B
TypeScript
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' })
|
|
};
|
|
}
|