delay toast slightly, tweak copy

This commit is contained in:
Matt Dunn-Rankin 2020-04-22 03:01:23 -07:00
parent 433d255391
commit 8adf4154b9

View file

@ -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);
} }
}, },