From 29372fcc26a0360c39e3b25c8e508d5414a6408e Mon Sep 17 00:00:00 2001 From: kenny-io Date: Fri, 6 Sep 2024 18:12:30 +0400 Subject: [PATCH] improve unstake UI messaging --- components/RemoveStakeButton.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/RemoveStakeButton.tsx b/components/RemoveStakeButton.tsx index 8dd8a6e..f755035 100644 --- a/components/RemoveStakeButton.tsx +++ b/components/RemoveStakeButton.tsx @@ -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; }