Skip to content

Commit 8a422d2

Browse files
committed
Fix proposal uri spamming
1 parent ebc08e9 commit 8a422d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/governance/ProposalCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export const ProposalCard = ({
9898
? firstParagraphMatch[0].replace(/<[^>]+>/g, '')
9999
: t('gov.proposals.noDescription')
100100
}
101-
}, [proposal])
101+
}, [proposal?.uri])
102102

103103
const votingResults = useMemo(() => {
104104
const totalVotes: BN = [...(proposal?.choices || [])].reduce(

0 commit comments

Comments
 (0)