I am using interactive server with per component/per page setting.
I am trying to use https://havit.blazor.eu/components/HxMessenger and it is telling me to put this code in the MainLayout
<HxMessenger Position="ToastContainerPosition.TopEnd" />but nothing works and I suspect it is because there is no render mode set for the MainLayout but I don't know how to set it ever time I try to specify a render mode I crashes with
InvalidOperationException: Cann pass the paramter 'body' to componentmainlayout with rendermode InteractiveServerRenderMode'. This isbecause the paramater is of type RenderFragment which is arbitary codeand canot be searlized