ghost-portal/packages/page-fellowship/src/index.tsx
Jaco e8a878c2de
Apply useCounter for new menu items (#7962)
* Apply useCounter for new menu items

* Adjust

* Adjust useCounter usage

* Adjust
2022-08-05 08:48:16 +03:00

27 lines
579 B
TypeScript

// Copyright 2017-2022 @polkadot/app-fellowship authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React from 'react';
import Main from '@polkadot/app-ranked/App';
export { default as useCounter } from './useCounter';
interface Props {
basePath: string;
className?: string;
}
function App ({ basePath, className }: Props): React.ReactElement<Props> {
return (
<Main
basePath={basePath}
className={className}
palletColl='fellowshipCollective'
palletPoll='fellowshipReferenda'
/>
);
}
export default React.memo(App);