DXgovernance / davi-monorepo

https://davi-monorepo-davi.vercel.app
8 stars 12 forks source link

Proposal description keeps loading when the description is failed to load #358

Open yathindrak opened 1 year ago

yathindrak commented 1 year ago

Description Proposal description keeps loading when the description is failed to load.

This issue has experienced in: https://project-davi.dev/#/gnosis/0x3f842726188FcD932d43bcA291be28138228e6D9/proposal/0x20a2ed6308573655e06f2cd844db8b580f08920aad086525638b8c4554a75585

The description gets null, if we inspect the ipfs cid: https://bafkreih5c6hwr3gbbwyhe76hwus7dwsgbqe46dmz5lx3ddcipn6komfdeu.ipfs.dweb.link/

This has caused for an infinite loading state.

Steps to Reproduce

Expected behavior A clear and concise description of what you expected to happen.

It should stop showing the loading skeleton and IMO we can show that it could not load the description.

Screenshots If applicable, add screenshots to help explain your problem.

Environment

Device Information

rossneilson commented 1 year ago

Seeing again here, all I did was submit a discussion then directly submit the proposal without editing the description

Screenshot 2023-03-29 at 15 34 41

rossneilson commented 1 year ago

Likely we need to look at the logic for copying over description from discussions and make sure its not null somewhere