diff --git a/apps/astraplusplus/widget/DAO/Proposals/Card/ui.jsx b/apps/astraplusplus/widget/DAO/Proposals/Card/ui.jsx index 20236c3..f3215b7 100644 --- a/apps/astraplusplus/widget/DAO/Proposals/Card/ui.jsx +++ b/apps/astraplusplus/widget/DAO/Proposals/Card/ui.jsx @@ -985,45 +985,55 @@ const NotificationModal = () => { src="/*__@appAccount__*//widget/Layout.Modal" props={{ content: ( -
- Do you want to notify proposer: {proposer} about the vote? -
- No, - size: "sm", - variant: "danger outline", - onClick: () => { - handleVote({ - action: voteDetails, - daoId, - proposalId: proposal.id, - proposer, - showNotification: false - }); - setNotificationModal(false); - } - }} - /> - Yes, - variant: "info outline", - size: "sm", - onClick: () => { - handleVote({ - action: voteDetails, - daoId, - proposalId: proposal.id, - proposer, - showNotification: true - }); - setNotificationModal(false); - } - }} - /> +
+ {/* proposal is expired */} + {new Date().getTime() > new Date(expirationTime).getTime() && ( +
+ Please note: This proposal has expired. Your vote will only mark + the proposal as 'Expired' and won't affect the decision-making + process. +
+ )} +
+ Do you want to notify proposer: {proposer} about the vote? +
+ No, + size: "sm", + variant: "danger outline", + onClick: () => { + handleVote({ + action: voteDetails, + daoId, + proposalId: proposal.id, + proposer, + showNotification: false + }); + setNotificationModal(false); + } + }} + /> + Yes, + variant: "info outline", + size: "sm", + onClick: () => { + handleVote({ + action: voteDetails, + daoId, + proposalId: proposal.id, + proposer, + showNotification: true + }); + setNotificationModal(false); + } + }} + /> +
),