Skip to content

Commit

Permalink
Merge pull request #132 from adamashton/develop
Browse files Browse the repository at this point in the history
Use shorthand onclick to ensure async-ness
  • Loading branch information
stavroskasidis authored Dec 6, 2022
2 parents d0cfb16 + fce2950 commit 8391fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BlazorContextMenu/Components/Item.razor
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<li @attributes="Attributes"
id="@Id"
@onclick="@((e) => OnClickInternal(e))"
@onclick="OnClickInternal"
class="@("blazor-context-menu__item " + ClassCalc)"
style="@(Visible ? "display:block;" : "display:none;")"
itemEnabled="@Enabled.ToString().ToLower()"
Expand Down

0 comments on commit 8391fa1

Please sign in to comment.