From 228c5bb19a50ab0d4b054548b3e247365b10e3ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8r=E2=88=82=C2=A1?= Date: Thu, 22 Feb 2024 13:52:05 +0100 Subject: [PATCH] Minor edit --- plugins/dualGovernance/components/proposal/header.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/dualGovernance/components/proposal/header.tsx b/plugins/dualGovernance/components/proposal/header.tsx index aca7983..b6f312b 100644 --- a/plugins/dualGovernance/components/proposal/header.tsx +++ b/plugins/dualGovernance/components/proposal/header.tsx @@ -62,7 +62,8 @@ const ProposalHeader: React.FC = ({ timeout: 4 * 1000, }); } else { - addErrorAlert("Could not create the proposal"); + console.error(error); + addErrorAlert("Could not execute the proposal"); } return; } @@ -80,7 +81,7 @@ const ProposalHeader: React.FC = ({ } else if (!isConfirmed) return; addAlert({ - message: "Proposal created", + message: "Proposal executed", description: "The transaction has been validated", type: "success", txHash: executeTxHash,