diff --git a/src/components/MarketPlace/PopUp/MarketPopUp.jsx b/src/components/MarketPlace/PopUp/MarketPopUp.jsx index 38ba43d..28f4bed 100644 --- a/src/components/MarketPlace/PopUp/MarketPopUp.jsx +++ b/src/components/MarketPlace/PopUp/MarketPopUp.jsx @@ -52,8 +52,8 @@ const MarketPopUp = ({ details, onClose, situation, marketInt }) => { } catch (error) { throw new Error(error); } finally { + setTextValue(""); setTimeout(() => { - setTextValue(""); setMarketMsg({ loading: false, state: false }); }, 5000); } @@ -195,15 +195,17 @@ const MarketPopUp = ({ details, onClose, situation, marketInt }) => { If you have any questions about this task: -