diff --git a/centrifuge-app/src/components/PoolList.tsx b/centrifuge-app/src/components/PoolList.tsx index ddf4bcf848..3e2eb8e617 100644 --- a/centrifuge-app/src/components/PoolList.tsx +++ b/centrifuge-app/src/components/PoolList.tsx @@ -38,7 +38,7 @@ const upcomingPools: PoolCardProps[] = [ export function PoolList() { const cent = useCentrifuge() const { search } = useLocation() - const [showArchived, setShowArchived] = React.useState(true) + const [showArchived, setShowArchived] = React.useState(false) const [listedPools, , metadataIsLoading] = useListedPools() const centPools = listedPools.filter(({ id }) => !id.startsWith('0x')) as Pool[] @@ -108,13 +108,15 @@ export function PoolList() { {!metadataIsLoading && archivedPools.length > 0 && ( - - setShowArchived((show) => !show)}> - {showArchived ? 'Hide archived pools' : 'View archived pools'} - - + <> + + setShowArchived((show) => !show)}> + {showArchived ? 'Hide archived pools' : 'View archived pools'} + + + {showArchived && } + )} - {showArchived && } ) } diff --git a/centrifuge-app/src/components/Root.tsx b/centrifuge-app/src/components/Root.tsx index ea6d8c6819..dab228e975 100644 --- a/centrifuge-app/src/components/Root.tsx +++ b/centrifuge-app/src/components/Root.tsx @@ -161,8 +161,8 @@ const routes: RouteProps[] = [ { path: '/onboarding/updateInvestorStatus', component: UpdateInvestorStatus, exact: true }, { path: '/multisig-approval', component: MultisigApprovalPage, exact: true }, { path: '/swaps', component: SwapsPage }, + { path: '/utils/address-format-converter', component: ConvertAddressPage }, { path: '/nav-management', component: NavManagementPage }, - { path: '/convert', component: ConvertAddressPage }, { path: '/', children: }, { children: ,