mirror of
https://github.com/dotnet/intro-to-dotnet-web-dev.git
synced 2026-04-21 06:13:49 +00:00
Update Board.razor to clarify variable name (#49)
This commit is contained in:
parent
1f2be7d607
commit
db641dda0e
1 changed files with 2 additions and 2 deletions
|
|
@ -14,8 +14,8 @@
|
||||||
<nav>
|
<nav>
|
||||||
@for (byte i = 0; i < 7; i++)
|
@for (byte i = 0; i < 7; i++)
|
||||||
{
|
{
|
||||||
var piece = i;
|
var col = i;
|
||||||
<span title="Click to play a piece" @onclick="() => PlayPiece(piece)">🔽</span>
|
<span title="Click to play a piece" @onclick="() => PlayPiece(col)">🔽</span>
|
||||||
}
|
}
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue