Skip to content

Commit

Permalink
Patch example code (#33628)
Browse files Browse the repository at this point in the history
  • Loading branch information
guardrex authored Sep 17, 2024
1 parent 2f8e7df commit 8fe84e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aspnetcore/blazor/fundamentals/handle-errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ The following example permits the user to recover from the exception with a butt
<div class="alert alert-danger" role="alert">
<p class="fs-3 fw-bold">😈 A rotten gremlin got us. Sorry!</p>
<p>@context.HelpLink</p>
<button class="btn btn-info" @onclick="_ => errorBoundary.Recover()">
<button class="btn btn-info" @onclick="_ => errorBoundary?.Recover()">
Clear
</button>
</div>
Expand Down

0 comments on commit 8fe84e8

Please sign in to comment.