update success tx wording
This commit is contained in:
@@ -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 && (
|
||||
|
||||
@@ -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 },
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user