Update Board.razor to clarify variable name (#49)

This commit is contained in:
Daniel Roth 2024-01-24 21:53:15 -08:00 committed by GitHub
parent 1f2be7d607
commit db641dda0e
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>