diff --git a/src/modules/lite/explorer/components/ProposalDetailCard.tsx b/src/modules/lite/explorer/components/ProposalDetailCard.tsx index 525d22fc..388ffcea 100644 --- a/src/modules/lite/explorer/components/ProposalDetailCard.tsx +++ b/src/modules/lite/explorer/components/ProposalDetailCard.tsx @@ -110,111 +110,106 @@ export const ProposalDetailCard: React.FC<{ poll: Poll | undefined; daoId: strin return ( <> - {poll && poll !== undefined ? ( - - - - - - {poll?.name} - - - - - - - - - Share - - - - - - Copy link - - + + + + + + {poll?.name} + + + + + + + + + Share + + + + + Copy link + + + - - - - - - - - - - - - + + + + + + + + + + + - - - - Start date:{" "} - - - {dayjs(Number(poll?.startTime)).format("lll")} - - - - - End date:{" "} - - - {dayjs(Number(poll?.endTime)).format("lll")} - - - - - - - {poll?.description} - + + + + + Start date:{" "} + + + {dayjs(Number(poll?.startTime)).format("lll")} + + - + + End date:{" "} + + + {dayjs(Number(poll?.endTime)).format("lll")} + + - {poll?.externalLink ? ( - - - - {poll?.externalLink} - - - ) : null} + + + {poll?.description} + - - ) : ( - - Could not load the requested proposal + + {poll?.externalLink ? ( + + + + {poll?.externalLink} + + + ) : null} - )} + + ) ) }