update success tx wording

This commit is contained in:
fmtabbara
2024-03-21 14:57:12 +00:00
parent cf201cba53
commit 68e0dd1f29
3 changed files with 8 additions and 3 deletions
@@ -99,7 +99,7 @@ export const DelegateModal: FCWithChildren<{
onOk({
status: 'success',
message: 'This operation can take up to one hour to process',
message: 'Delegation can take up to one hour to process',
transactions: [
{ url: `${urls('MAINNET').blockExplorer}/transaction/${tx.transactionHash}`, hash: tx.transactionHash },
],
@@ -42,7 +42,12 @@ export const DelegationModal: FCWithChildren<
}
return (
<ConfirmationModal open={open} onConfirm={onClose || (() => {})} title="Delegation successful" confirmButton="Done">
<ConfirmationModal
open={open}
onConfirm={onClose || (() => {})}
title="Transaction successful"
confirmButton="Done"
>
<Stack alignItems="center" spacing={2} mb={0}>
{message && <Typography>{message}</Typography>}
{transactions?.length === 1 && (
+1 -1
View File
@@ -81,7 +81,7 @@ const DelegationsPage = () => {
if (tx) {
setConfirmationModalProps({
status: 'success',
message: 'Undelegation successful',
message: 'Undelegation can take up to one hour to process',
transactions: [
{ url: `${urls('MAINNET').blockExplorer}/transaction/${tx.transactionHash}`, hash: tx.transactionHash },
],