From b5e52fb34e9d86c27313c3603e3893fce178a29b Mon Sep 17 00:00:00 2001 From: Chief Bube Date: Tue, 24 Oct 2023 18:48:17 -0700 Subject: [PATCH 1/3] Fixed button position --- src/components/MarketPlace/PopUp/MarketPopUp.jsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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: