Update memory-game/components/MemoryGame.jsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/1500/head
Lee Stott 2 months ago committed by GitHub
parent cd442e142d
commit 0faef13a58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -118,7 +118,7 @@ const MemoryGame = () => {
onClick={() => handleClick(array.id)}
className={`aspect-square flex items-center justify-center text-xl transition-all duration-300 font-bold rounded-lg cursor-pointer ${
isFlipped(array.id)
? isselectedpairs(array.id)
? isSelectedPairs(array.id)
? "bg-green-500 text-white"
: "bg-blue-500 text-white"
: "bg-gray-300 text-gray-400 "

Loading…
Cancel
Save