Update Board.razor to clarify variable name

This commit is contained in:
Daniel Roth 2024-01-24 21:51:43 -08:00 committed by GitHub
parent 1f2be7d607
commit cdc24c1775
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,8 +14,8 @@
<nav>
@for (byte i = 0; i < 7; i++)
{
var piece = i;
<span title="Click to play a piece" @onclick="() => PlayPiece(piece)">🔽</span>
var col = i;
<span title="Click to play a piece" @onclick="() => PlayPiece(col)">🔽</span>
}
</nav>