Skip to content

Commit 8391fa1

Browse files
Merge pull request #132 from adamashton/develop
Use shorthand onclick to ensure async-ness
2 parents d0cfb16 + fce2950 commit 8391fa1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

BlazorContextMenu/Components/Item.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

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

0 commit comments

Comments
 (0)