diff --git a/src/stores/useGovStore.ts b/src/stores/useGovStore.ts index c9a57a56..587839be 100644 --- a/src/stores/useGovStore.ts +++ b/src/stores/useGovStore.ts @@ -41,7 +41,7 @@ export const useGovStore = defineStore('govStore', { //filter spam proposals if(proposals?.proposals) { proposals.proposals = proposals.proposals.filter((item) => { - const title = item.content.title || item.title || "" + const title = item.content?.title || item.title || "" return title.toLowerCase().indexOf("airdrop")===-1 }); }