style: format Program.cs

This commit is contained in:
cswimr 2024-12-31 01:03:35 -05:00
parent a97a181faa
commit dd614b62b1
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -3,8 +3,7 @@ using ZenithInfo.Components;
var builder = WebApplication.CreateBuilder(args); var builder = WebApplication.CreateBuilder(args);
// Add services to the container. // Add services to the container.
builder.Services.AddRazorComponents() builder.Services.AddRazorComponents().AddInteractiveServerComponents();
.AddInteractiveServerComponents();
var app = builder.Build(); var app = builder.Build();
@ -21,7 +20,6 @@ app.UseHttpsRedirection();
app.UseStaticFiles(); app.UseStaticFiles();
app.UseAntiforgery(); app.UseAntiforgery();
app.MapRazorComponents<App>() app.MapRazorComponents<App>().AddInteractiveServerRenderMode();
.AddInteractiveServerRenderMode();
app.Run(); app.Run();