fix localization
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
using Atomx.Admin.Client.Services;
|
||||
using Atomx.Admin.Client.Utils;
|
||||
using Atomx.Admin.Client.Validators;
|
||||
using Blazored.LocalStorage;
|
||||
using FluentValidation;
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.Extensions.Localization;
|
||||
using System.Net.Http;
|
||||
using FluentValidation;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
|
||||
var builder = WebAssemblyHostBuilder.CreateDefault(args);
|
||||
|
||||
@@ -70,7 +68,7 @@ builder.Services.AddScoped<HttpService>(sp =>
|
||||
return new HttpService(httpClient, httpContextAccessor);
|
||||
});
|
||||
|
||||
builder.Services.AddValidatorsFromAssembly(typeof(Atomx.Admin.Client.Validators.LoginModelValidator).Assembly);
|
||||
builder.Services.AddValidatorsFromAssembly(typeof(LoginModelValidator).Assembly);
|
||||
|
||||
builder.Services.AddAntDesign();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user