diff --git a/govtool/frontend/src/components/organisms/DashboardCards.tsx b/govtool/frontend/src/components/organisms/DashboardCards.tsx index ec7747cf3..5ba437c4a 100644 --- a/govtool/frontend/src/components/organisms/DashboardCards.tsx +++ b/govtool/frontend/src/components/organisms/DashboardCards.tsx @@ -26,7 +26,11 @@ export const DashboardCards = () => { const { votingPower } = useGetAdaHolderVotingPowerQuery(stakeKey); const { voter } = useGetVoterInfo(); - if (!currentDelegation || !voter || !votingPower) { + if ( + currentDelegation === undefined + || votingPower === undefined + || voter === undefined + ) { return (