Fix: JavaScript interop calls cannot be issued at this time (Blazor prerendering)
Prerendering runs your component on the server with no browser attached, so IJSRuntime throws. Move the call into OnAfterRenderAsync, gate it on RendererInfo.IsInteractive, or disable prerendering.