ghost-portal/packages/page-ranked/src/index.tsx
Jaco 4929b1c6fd
Update headers for 2023 (#8665)
* Update headers for 2023

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

27 lines
544 B
TypeScript

// Copyright 2017-2023 @polkadot/app-ranked authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React from 'react';
import Main from './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='rankedCollective'
palletPoll='rankedPolls'
/>
);
}
export default React.memo(App);