diff --git a/src/Connected.Components.Showcase.Runner/MainLayout.razor b/src/Connected.Components.Showcase.Runner/MainLayout.razor index de2be6c..8dd7695 100644 --- a/src/Connected.Components.Showcase.Runner/MainLayout.razor +++ b/src/Connected.Components.Showcase.Runner/MainLayout.razor @@ -1,5 +1,7 @@ @inherits LayoutComponentBase + +
@Body
diff --git a/src/Connected.Components.Showcase.Runner/Program.cs b/src/Connected.Components.Showcase.Runner/Program.cs index 568153e..370ca59 100644 --- a/src/Connected.Components.Showcase.Runner/Program.cs +++ b/src/Connected.Components.Showcase.Runner/Program.cs @@ -1,6 +1,7 @@ using Connected.Components.Showcase.Runner; using Microsoft.AspNetCore.Components.Web; using Microsoft.AspNetCore.Components.WebAssembly.Hosting; +using Connected.Services; internal class Program { @@ -12,6 +13,8 @@ internal class Program builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) }); + builder.Services.AddModalDialogService(); + await builder.Build().RunAsync(); } } \ No newline at end of file