Add MainService for state management and update Index and AuthDialog to utilize it
This commit is contained in:
@@ -231,7 +231,10 @@ public partial class AuthDialog : IDisposable
|
||||
{
|
||||
MudDialog?.Close();
|
||||
}
|
||||
|
||||
await OnLoginSuccess.InvokeAsync();
|
||||
await InvokeAsync(StateHasChanged);
|
||||
MainService.OnOnChangeHandler();
|
||||
// await OnLoginSuccessAsync();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user