@inject NotificationManager Notification @implements IDisposable
@foreach (var msg in Notification.Messages) {

@msg

}
@code { protected override void OnInitialized() { Notification.OnChange += StateHasChanged; } public void Dispose() { Notification.OnChange -= StateHasChanged; } }