@using Prefab.Web.Client.Services @inherits LayoutComponentBase
@Body
An unhandled error has occurred. Reload 🗙
@code { private ErrorBoundary? _errorBoundary; private TelerikNotification GlobalNotification { get; set; } = new(); [Inject] public INotificationService NotificationService { get; set; } = null!; protected override void OnParametersSet() { _errorBoundary?.Recover(); } protected override void OnAfterRender(bool firstRender) { if (!firstRender) return; NotificationService.Attach(GlobalNotification); } }