Fix tipper icon progression

This commit is contained in:
Sinclair Chen 2022-09-29 07:26:19 -07:00
parent 4cc985634a
commit 46fab105d9

View File

@ -128,7 +128,7 @@ function DownTip(props: { onClick?: () => void }) {
function UpTip(props: { onClick?: () => void; value: number }) { function UpTip(props: { onClick?: () => void; value: number }) {
const { onClick, value } = props const { onClick, value } = props
const IconKind = value >= 10 ? ChevronDoubleRightIcon : ChevronRightIcon const IconKind = value > TIP_SIZE ? ChevronDoubleRightIcon : ChevronRightIcon
return ( return (
<Tooltip <Tooltip
className="h-6 w-6" className="h-6 w-6"