diff --git a/browser/IgBlazorSamples.Core/Navigation/BrowserLayout.razor b/browser/IgBlazorSamples.Core/Navigation/BrowserLayout.razor index 9640c7e298..481da8e19d 100644 --- a/browser/IgBlazorSamples.Core/Navigation/BrowserLayout.razor +++ b/browser/IgBlazorSamples.Core/Navigation/BrowserLayout.razor @@ -85,7 +85,7 @@ protected override async Task OnInitializedAsync() await JSRuntime.InvokeVoidAsync("attachPreventScroll"); } -protected async ValueTask DisposeAsync() +public async ValueTask DisposeAsync() { await JSRuntime.InvokeVoidAsync("removePreventScroll"); diff --git a/samples/grids/tree-grid/multi-column-headers-overview/App.razor b/samples/grids/tree-grid/multi-column-headers-overview/App.razor index 1e12740991..cfcb59adff 100644 --- a/samples/grids/tree-grid/multi-column-headers-overview/App.razor +++ b/samples/grids/tree-grid/multi-column-headers-overview/App.razor @@ -5,7 +5,7 @@