Fix deploy button text

This commit is contained in:
IshaVenikar 2024-11-11 10:03:32 +05:30
parent 8fd140da43
commit 67e5baf8ff

View File

@ -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'
}
</Button>
</div>
)}