From dec1b81909dc50c706fa8ee5354ae98b9d9eff2e Mon Sep 17 00:00:00 2001 From: James Montemagno Date: Wed, 17 Jan 2024 22:15:03 +0000 Subject: [PATCH] fix typo --- 5-blazor/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/5-blazor/README.md b/5-blazor/README.md index 1a85b17..0659664 100644 --- a/5-blazor/README.md +++ b/5-blazor/README.md @@ -390,7 +390,7 @@ Let's add some error handling and indicators to our board to make the current st ``` - The `CurrentTurn` property is automatically calculated based on the state of the `winnerMessage` and the `PlayerTurn` property of the `GameState`. - - The `ResetStyle` is calculated based on contents of the `WinnerMessage`. If there's a `winnerMessage`, we make the reset button appear on screen. + - The `ResetStyle` is calculated based on contents of the `winnerMessage`. If there's a `winnerMessage`, we make the reset button appear on screen. 1. Let's handle the error message when a piece is played. Add a line to clear the error message and then wrap the code in the `PlayPiece` method with a `try...catch` block to set the `errorMessage` if an exception occurred: