This commit is contained in:
2022-11-11 20:29:42 -06:00
parent 79b70d6fa5
commit 716470f24d
3 changed files with 106 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Shogi.UI;
using Shogi.UI.Pages.Home;
using Shogi.UI.Pages.Home.Account;
using Shogi.UI.Pages.Home.Api;
using Shogi.UI.Shared;
@@ -54,6 +55,7 @@ static void ConfigureDependencies(IServiceCollection services, IConfiguration co
services.AddScoped<MsalMessageHandler>();
services.AddScoped<CookieCredentialsMessageHandler>();
services.AddScoped<IShogiApi, ShogiApi>();
services.AddScoped<PromotePrompt>();
var serializerOptions = new JsonSerializerOptions
{