Skip to content

Commit

Permalink
improve unstake UI messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
kenny-io committed Sep 6, 2024
1 parent 50ec5f9 commit 29372fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/RemoveStakeButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ export default function RemoveStakeButton({nominee, force = false, nodeStatus}:

if (
settings?.lastStopped &&
Date.now() - settings.lastStopped < 3 * 60000 // 3 minutes
Date.now() - settings.lastStopped < 15 * 60000 // 15 minutes
) {
showTemporaryWarningMessage(" Your node has been stopped recently. Please wait for a few minutes before removing stake.");
showTemporaryWarningMessage(" Your node has been stopped recently. Please wait for at least 15 minutes before removing stake.");
return;
}

Expand Down

0 comments on commit 29372fc

Please sign in to comment.