Fix tipper icon progression
This commit is contained in:
parent
4cc985634a
commit
46fab105d9
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user