diff --git a/apps/ui/src/composables/useVotingPower.ts b/apps/ui/src/composables/useVotingPower.ts index 846ab0d4c..d2876d84c 100644 --- a/apps/ui/src/composables/useVotingPower.ts +++ b/apps/ui/src/composables/useVotingPower.ts @@ -12,12 +12,13 @@ export function useVotingPower() { } function getProposalSnapshot(proposal: Proposal): number | null { - return ( - (proposal.state === 'pending' && + const snapshot = + proposal.state === 'pending' && !offchainNetworks.includes(proposal.network) ? null - : proposal.snapshot) || getLatestBlock(proposal.network) - ); + : proposal.snapshot; + + return snapshot || getLatestBlock(proposal.network); } function getSnapshot(