Hriday2406 / memory-game

https://anime-memory-game-hriday.vercel.app/
1 stars 0 forks source link

Use setter directly instead of making a function specifically for state #6

Closed Hriday2406 closed 1 month ago

Hriday2406 commented 1 month ago

// shuffleStateArr(arr, setArr); setArr((prev) => shuffleArr(prev));