attempt to fix a prod-only tooltip bug 🤔

My current guess is that maybe showDelay={false} is infinite delay after prod compilation? Not sure why but it's my best guess!
This commit is contained in:
Matt Dunn-Rankin 2020-05-10 01:05:19 -07:00
parent 785d119324
commit 6b616d917d

View file

@ -98,7 +98,7 @@ function StartOutfitForm() {
// HACK: I only want the tooltip to appear when invalid... but the
// API doesn't really give us that option while also retaining
// the same <Button> instance. Instead, we set the max delay ><
showDelay={isValid && 2147483647}
showDelay={isValid ? 2147483647 : 0}
>
<Button type="submit" variantColor="green" disabled={!isValid}>
Start