We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddf8834 commit 8975086Copy full SHA for 8975086
src/state/governance/hooks.ts
@@ -124,7 +124,7 @@ export function useAllProposalData() {
124
const formattedProposal: ProposalData = {
125
id: allProposals[i]?.result?.id.toString(),
126
title: formattedEvents[i].description?.split(/# |\n/g)[1] || 'Untitled',
127
- description: formattedEvents[i].description?.split(/# /)[1] || 'No description.',
+ description: formattedEvents[i].description || 'No description.',
128
proposer: allProposals[i]?.result?.proposer,
129
status: enumerateProposalState(allProposalStates[i]?.result?.[0]) ?? 'Undetermined',
130
forCount: parseFloat(ethers.utils.formatUnits(allProposals[i]?.result?.forVotes.toString(), 18)),
0 commit comments