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 }) => {