Skip to content

Commit 502d3a8

Browse files
authored
fix Dispatcher execution error (#70)
1 parent 3d294c2 commit 502d3a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layout/src/Core/AntProComponentBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public bool MenuHeaderRender
131131

132132
protected virtual void OnStateChanged()
133133
{
134-
StateHasChanged();
134+
InvokeAsync(StateHasChanged);
135135
}
136136

137137
protected override void OnInitialized()

0 commit comments

Comments
 (0)