fix: hair style bug

This commit is contained in:
trafficlunar 2026-04-11 18:30:52 +01:00
parent 68fa74add2
commit 30c9562ed8

View file

@ -98,8 +98,8 @@ export default function HairTab({ instructions }: Props) {
type="button"
key={i}
onClick={() => {
setStyle(i);
instructions.current.hair.style = i;
setStyle(i + 1);
instructions.current.hair.style = i + 1;
}}
className={`size-full aspect-square cursor-pointer hover:bg-orange-300 transition-colors duration-100 rounded-lg ${style === i ? "bg-orange-400!" : ""}`}
>