tiny feature added
This commit is contained in:
@@ -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" }}
|
||||
|
||||
Reference in New Issue
Block a user