From 2a445fd2d41696d752277666eb1e50e778f2c592 Mon Sep 17 00:00:00 2001 From: Chief Bube Date: Tue, 24 Oct 2023 18:55:37 -0700 Subject: [PATCH] tiny feature added --- src/components/MarketPlace/PopUp/MarketPopUp.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/MarketPlace/PopUp/MarketPopUp.jsx b/src/components/MarketPlace/PopUp/MarketPopUp.jsx index 28f4bed..4be1f6e 100644 --- a/src/components/MarketPlace/PopUp/MarketPopUp.jsx +++ b/src/components/MarketPlace/PopUp/MarketPopUp.jsx @@ -52,7 +52,9 @@ const MarketPopUp = ({ details, onClose, situation, marketInt }) => { } catch (error) { throw new Error(error); } finally { - setTextValue(""); + setTimeout(() => { + setTextValue(""); + }, 2000); setTimeout(() => { setMarketMsg({ loading: false, state: false }); }, 5000); @@ -196,7 +198,7 @@ const MarketPopUp = ({ details, onClose, situation, marketInt }) => {