mirror of
https://github.com/dotnet/intro-to-dotnet-web-dev.git
synced 2025-12-06 05:32:03 +01:00
Update Board.razor to clarify variable name
This commit is contained in:
parent
1f2be7d607
commit
cdc24c1775
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue