Commit 9b5a53b2 authored by Yadong Zhang's avatar Yadong Zhang Committed by GitHub

fix: typeError: Cannot read properties of undefined (reading 'split') (#3518)

parent 50fdb36b
......@@ -269,7 +269,7 @@ export function useAllProposalData(): { data: ProposalData[]; loading: boolean }
data: proposalsCallData.map((proposal, i) => {
const startBlock = parseInt(proposal?.result?.startBlock?.toString())
let description = formattedLogs[i]?.description
let description = formattedLogs[i]?.description ?? ''
if (startBlock === UNISWAP_GRANTS_START_BLOCK) {
description = UNISWAP_GRANTS_PROPOSAL_DESCRIPTION
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment