Skip to content

Commit c9a534c

Browse files
committedAug 1, 2022
chore: minor rename
1 parent b725c4a commit c9a534c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎templates/TodoApp/UI/Shared/MainLayout.razor

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,18 @@
3333
protected override void OnInitialized()
3434
{
3535
Nav.LocationChanged += OnLocationChanged;
36-
UIActionFailureTracker.Changed += OnCommandFailureListChanged;
36+
UIActionFailureTracker.Changed += OnUIActionFailureTrackerChanged;
3737
}
3838

3939
public void Dispose()
4040
{
4141
Nav.LocationChanged -= OnLocationChanged;
42-
UIActionFailureTracker.Changed -= OnCommandFailureListChanged;
42+
UIActionFailureTracker.Changed -= OnUIActionFailureTrackerChanged;
4343
}
4444

4545
private void OnLocationChanged(object? sender, LocationChangedEventArgs e)
4646
=> UIActionFailureTracker.Clear();
4747

48-
private void OnCommandFailureListChanged()
48+
private void OnUIActionFailureTrackerChanged()
4949
=> this.StateHasChangedAsync();
5050
}

0 commit comments

Comments
 (0)
Please sign in to comment.