design : mobile review panel UI rework

This commit is contained in:
GuillaumeSD
2024-04-12 03:31:52 +02:00
parent daaf145fa9
commit 56b267762e
3 changed files with 31 additions and 10 deletions

View File

@@ -16,7 +16,6 @@ export default function CapturedPieces({ gameAtom, color }: Props) {
const game = useAtomValue(gameAtom);
const cssProps = useMemo(() => {
const capturedPieces = getCapturedPieces(game.fen(), color);
console.log(capturedPieces, color);
return getCapturedPiecesCSSProps(capturedPieces, color);
}, [game, color]);