diff --git a/Pkmds.Web/App.razor.cs b/Pkmds.Web/App.razor.cs index 90f7c644..f271adb8 100644 --- a/Pkmds.Web/App.razor.cs +++ b/Pkmds.Web/App.razor.cs @@ -12,7 +12,7 @@ protected override async Task OnAfterRenderAsync(bool firstRender) await JSRuntime.InvokeVoidAsync("addUpdateListener"); } - [JSInvokable] + [JSInvokable(nameof(ShowUpdateMessage))] public void ShowUpdateMessage() { AppState.UpdateAvailable = true;