From 46fab105d93c00df78ac8ab0f2ce10f256f18a3c Mon Sep 17 00:00:00 2001 From: Sinclair Chen Date: Thu, 29 Sep 2022 07:26:19 -0700 Subject: [PATCH] Fix tipper icon progression --- web/components/tipper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/tipper.tsx b/web/components/tipper.tsx index 46a988f6..ccb8361f 100644 --- a/web/components/tipper.tsx +++ b/web/components/tipper.tsx @@ -128,7 +128,7 @@ function DownTip(props: { onClick?: () => void }) { function UpTip(props: { onClick?: () => void; value: number }) { const { onClick, value } = props - const IconKind = value >= 10 ? ChevronDoubleRightIcon : ChevronRightIcon + const IconKind = value > TIP_SIZE ? ChevronDoubleRightIcon : ChevronRightIcon return (