Skip to content

Commit

Permalink
Update Board.razor to clarify variable name (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
danroth27 authored Jan 25, 2024
1 parent 1f2be7d commit db641dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 5-blazor/1-complete/ConnectFour/Components/Board.razor
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit db641dd

Please sign in to comment.