tiny feature added
This commit is contained in:
@@ -52,7 +52,9 @@ const MarketPopUp = ({ details, onClose, situation, marketInt }) => {
|
|||||||
} catch (error) {
|
} catch (error) {
|
||||||
throw new Error(error);
|
throw new Error(error);
|
||||||
} finally {
|
} finally {
|
||||||
setTextValue("");
|
setTimeout(() => {
|
||||||
|
setTextValue("");
|
||||||
|
}, 2000);
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
setMarketMsg({ loading: false, state: false });
|
setMarketMsg({ loading: false, state: false });
|
||||||
}, 5000);
|
}, 5000);
|
||||||
@@ -196,7 +198,7 @@ const MarketPopUp = ({ details, onClose, situation, marketInt }) => {
|
|||||||
</label>
|
</label>
|
||||||
<textarea
|
<textarea
|
||||||
className={`p-1 w-full text-sm text-slate-900 dark:text-white ${
|
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`}
|
} bg-transparent outline-none border-2 border-slate-300 rounded-md`}
|
||||||
rows="3"
|
rows="3"
|
||||||
style={{ resize: "none" }}
|
style={{ resize: "none" }}
|
||||||
|
|||||||
Reference in New Issue
Block a user