tiny feature added

This commit is contained in:
2023-10-24 18:55:37 -07:00
parent b5e52fb34e
commit 2a445fd2d4
@@ -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 }) => {
</label>
<textarea
className={`p-1 w-full text-sm text-slate-900 dark:text-white ${
marketMsg.loading && "italic #9CA3AF"
marketMsg.loading && "italic text-[#9CA3AF]"
} bg-transparent outline-none border-2 border-slate-300 rounded-md`}
rows="3"
style={{ resize: "none" }}