From 8adf4154b97c8c5dc0b78fb227dbd08a662e5484 Mon Sep 17 00:00:00 2001 From: Matt Dunn-Rankin Date: Wed, 22 Apr 2020 03:01:23 -0700 Subject: [PATCH] delay toast slightly, tweak copy --- app/src/WardrobePage.js | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/app/src/WardrobePage.js b/app/src/WardrobePage.js index cb809dc3..a4524e78 100644 --- a/app/src/WardrobePage.js +++ b/app/src/WardrobePage.js @@ -34,16 +34,18 @@ function WardrobePage() { wearItemRaw(itemIdToAdd); if (!hasSentToast) { - toast({ - title: "Not yet implemented", - description: - "The outfit preview is static right now, we'll update it " + - "to change later! But the list animation is good, yeah? 😊", - status: "warning", - isClosable: true, - duration: 10000, - position: window.innerWidth < 992 ? "top" : "bottom-left", - }); + setTimeout(() => { + toast({ + title: "So, the outfit didn't change 😅", + description: + "This is a prototype, and the outfit preview is static right " + + "now! But the list animation is good, yeah? Nice and smooth 😊", + status: "warning", + isClosable: true, + duration: 10000, + position: window.innerWidth < 992 ? "top" : "bottom-left", + }); + }, 3000); setHasSentToast(true); } },