From 67e5baf8ffb54c61e137d4426e18ad1b35fbcc94 Mon Sep 17 00:00:00 2001 From: IshaVenikar Date: Mon, 11 Nov 2024 10:03:32 +0530 Subject: [PATCH] Fix deploy button text --- .../frontend/src/components/projects/create/Configure.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/components/projects/create/Configure.tsx b/packages/frontend/src/components/projects/create/Configure.tsx index 8a79020a..e45cba29 100644 --- a/packages/frontend/src/components/projects/create/Configure.tsx +++ b/packages/frontend/src/components/projects/create/Configure.tsx @@ -223,6 +223,7 @@ const Configure = () => { variant: 'error', onDismiss: dismiss, }); + setIsFrameVisible(false); throw new Error('Transaction rejected'); } @@ -240,6 +241,7 @@ const Configure = () => { variant: 'success', onDismiss: dismiss, }); + setIsPaymentDone(true); } else { toast({ id: 'invalid-tx-hash', @@ -603,7 +605,8 @@ const Configure = () => { : 'Pay and Deploy' : isLoading ? 'Deploying' - : 'Deploy'} + : 'Deploy' + } )}