From cd5974b484c490970ae27daadb6aa35fe61f0be2 Mon Sep 17 00:00:00 2001 From: Mackinnon Buck Date: Tue, 16 Apr 2024 09:04:01 -0700 Subject: [PATCH] Update src/Components/WebAssembly/WebAssembly/src/Hosting/WebAssemblyHostBuilder.cs --- .../WebAssembly/src/Hosting/WebAssemblyHostBuilder.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Components/WebAssembly/WebAssembly/src/Hosting/WebAssemblyHostBuilder.cs b/src/Components/WebAssembly/WebAssembly/src/Hosting/WebAssemblyHostBuilder.cs index 5811091c7a6ff..88b00fe6560e7 100644 --- a/src/Components/WebAssembly/WebAssembly/src/Hosting/WebAssemblyHostBuilder.cs +++ b/src/Components/WebAssembly/WebAssembly/src/Hosting/WebAssemblyHostBuilder.cs @@ -311,12 +311,6 @@ internal void InitializeDefaultServices() Services.AddSingleton(new LazyAssemblyLoader(DefaultWebAssemblyJSRuntime.Instance)); Services.AddSingleton(_ => _rootComponentCache ?? new()); Services.AddSingleton(); - //Services.AddSingleton(static sp => - //{ - // var jsonOptions = sp.GetRequiredService>(); - // var logger = sp.GetRequiredService>(); - // return new(jsonOptions, logger); - //}); Services.AddSingleton(sp => sp.GetRequiredService().State); Services.AddSingleton(); Services.AddSingleton();