diff --git a/src/TestPanel.js b/src/TestPanel.js index fd64121..fc9a9b2 100644 --- a/src/TestPanel.js +++ b/src/TestPanel.js @@ -348,7 +348,7 @@ function FoodItem(p) { setPoints(p.points) },[p.points]) - return
0?"Active":""} r${rarity}`}> + return
{e.stopPropagation();modifyPoints(name,1)}} className={`itemWrapper${points>0?"Active":""} r${rarity}`}>
@@ -360,9 +360,9 @@ function FoodItem(p) { {boosts.filter((val)=>val.val).map((val=>Up))}
- {modifyPoints(name,-1)}}>- + {e.stopPropagation();modifyPoints(name,-1)}}>- {points} - {modifyPoints(name,1)}}>+ + {e.stopPropagation();modifyPoints(name,1)}}>+
}