ghost-portal/packages/apps-routing/src/runtime.ts
Jaco 1ad8c1bf5e
App for runtime calls (#7811)
* App for runtime calls

* Display typoe in outputs

* Adjust for released

* sorting

* dedupe
2022-07-02 09:56:06 +03:00

21 lines
510 B
TypeScript

// Copyright 2017-2022 @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-runtime';
export default function create (t: TFunction): Route {
return {
Component,
display: {
needsApi: []
},
group: 'developer',
icon: 'arrows-to-circle',
name: 'runtime',
text: t('nav.runtime', 'Runtime calls', { ns: 'apps-routing' })
};
}