// Copyright 2017-2026 @pezkuwi/app-fellowship authors & contributors
// SPDX-License-Identifier: Apache-2.0

import React from 'react';

import Main from '@pezkuwi/app-ranked/App';

export { default as useCounter } from './useCounter.js';

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);
