mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-05-13 13:17:45 +00:00
fix: hair style bug
This commit is contained in:
parent
68fa74add2
commit
30c9562ed8
1 changed files with 2 additions and 2 deletions
|
|
@ -98,8 +98,8 @@ export default function HairTab({ instructions }: Props) {
|
||||||
type="button"
|
type="button"
|
||||||
key={i}
|
key={i}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setStyle(i);
|
setStyle(i + 1);
|
||||||
instructions.current.hair.style = i;
|
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!" : ""}`}
|
className={`size-full aspect-square cursor-pointer hover:bg-orange-300 transition-colors duration-100 rounded-lg ${style === i ? "bg-orange-400!" : ""}`}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue