delay toast slightly, tweak copy
This commit is contained in:
parent
433d255391
commit
8adf4154b9
1 changed files with 12 additions and 10 deletions
|
@ -34,16 +34,18 @@ function WardrobePage() {
|
||||||
wearItemRaw(itemIdToAdd);
|
wearItemRaw(itemIdToAdd);
|
||||||
|
|
||||||
if (!hasSentToast) {
|
if (!hasSentToast) {
|
||||||
toast({
|
setTimeout(() => {
|
||||||
title: "Not yet implemented",
|
toast({
|
||||||
description:
|
title: "So, the outfit didn't change 😅",
|
||||||
"The outfit preview is static right now, we'll update it " +
|
description:
|
||||||
"to change later! But the list animation is good, yeah? 😊",
|
"This is a prototype, and the outfit preview is static right " +
|
||||||
status: "warning",
|
"now! But the list animation is good, yeah? Nice and smooth 😊",
|
||||||
isClosable: true,
|
status: "warning",
|
||||||
duration: 10000,
|
isClosable: true,
|
||||||
position: window.innerWidth < 992 ? "top" : "bottom-left",
|
duration: 10000,
|
||||||
});
|
position: window.innerWidth < 992 ? "top" : "bottom-left",
|
||||||
|
});
|
||||||
|
}, 3000);
|
||||||
setHasSentToast(true);
|
setHasSentToast(true);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue