Skip to content

Commit

Permalink
Fix JS interop with update message
Browse files Browse the repository at this point in the history
  • Loading branch information
codemonkey85 committed Nov 22, 2024
1 parent b43616c commit 2584df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pkmds.Web/App.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2584df7

Please sign in to comment.