diff --git a/src/components/Proposals/ProposalCard/ProposalCard.tsx b/src/components/Proposals/ProposalCard/ProposalCard.tsx index bae0c0d1fd..3e6628a0b1 100644 --- a/src/components/Proposals/ProposalCard/ProposalCard.tsx +++ b/src/components/Proposals/ProposalCard/ProposalCard.tsx @@ -27,7 +27,7 @@ function ProposalCard({ proposal }: { proposal: FractalProposal }) { const isSnapshotProposal = !!(proposal as SnapshotProposal).snapshotProposalId; if (!daoNetwork || !daoAddress) { - return <>; + return null; } return ( diff --git a/src/components/ui/modals/ConfirmModifyGovernanceModal.tsx b/src/components/ui/modals/ConfirmModifyGovernanceModal.tsx index 309d70f117..18132e7889 100644 --- a/src/components/ui/modals/ConfirmModifyGovernanceModal.tsx +++ b/src/components/ui/modals/ConfirmModifyGovernanceModal.tsx @@ -11,7 +11,7 @@ export function ConfirmModifyGovernanceModal({ close }: { close: () => void }) { } = useFractal(); if (!daoNetwork || !daoAddress) { - return <>; + return null; } return ( diff --git a/src/pages/daos/[daoAddress]/edit/governance/index.tsx b/src/pages/daos/[daoAddress]/edit/governance/index.tsx index c492713d15..85c3a78974 100644 --- a/src/pages/daos/[daoAddress]/edit/governance/index.tsx +++ b/src/pages/daos/[daoAddress]/edit/governance/index.tsx @@ -39,7 +39,7 @@ export default function ModifyGovernancePage() { }; if (!daoNetwork || !daoAddress) { - return <>; + return null; } return ( diff --git a/src/pages/daos/[daoAddress]/proposals/[proposalId]/index.tsx b/src/pages/daos/[daoAddress]/proposals/[proposalId]/index.tsx index cb0c13879a..e8b54dc242 100644 --- a/src/pages/daos/[daoAddress]/proposals/[proposalId]/index.tsx +++ b/src/pages/daos/[daoAddress]/proposals/[proposalId]/index.tsx @@ -49,7 +49,7 @@ export default function ProposalDetailsPage() { }, [proposals, proposalId, isSnapshotProposal]); if (!daoAddress || !daoNetwork) { - return <>; + return null; } return (