import { ComponentType } from 'react' import { useTranslation } from 'react-i18next' import { StatefulChainStatusProps, SupportedChainIndexerMode, } from '@dao-dao/types' import { getSupportedChains } from '@dao-dao/utils' export type StatusProps = { ChainStatus: ComponentType } export const Status = ({ ChainStatus }: StatusProps) => { const { t } = useTranslation() const chains = getSupportedChains({ indexer: [SupportedChainIndexerMode.Tx, SupportedChainIndexerMode.All], }) return (

{t('info.statusPageDescription')}

{chains.map(({ chainId }) => ( ))}
) }