fix : pieceSet loading

This commit is contained in:
GuillaumeSD
2025-05-11 18:38:52 +02:00
parent 6535fce2f4
commit 957cb3ce7a

View File

@@ -238,6 +238,7 @@ export default function Board({
<Image <Image
src={`/piece/${pieceSet}/${piece}.svg`} src={`/piece/${pieceSet}/${piece}.svg`}
alt={piece} alt={piece}
loading="eager"
width={squareWidth} width={squareWidth}
height={squareWidth} height={squareWidth}
style={{ style={{