fix #4017 - SiteState being lost in server rendered scenarios

This commit is contained in:
sbwalker
2024-03-19 13:53:05 -04:00
parent 0bb8ae540d
commit 3eb9de57ef
5 changed files with 3 additions and 15 deletions

View File

@ -99,9 +99,6 @@ namespace Microsoft.Extensions.DependencyInjection
services.AddScoped<IVisitorService, VisitorService>();
services.AddScoped<ISyncService, SyncService>();
// alternative used within infrastructure classes
services.AddScoped<Oqtane.Infrastructure.SiteState>();
return services;
}