Skip to content

Commit

Permalink
Fix deploy and upgrade packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
IEvangelist committed Dec 5, 2024
1 parent dfab69a commit 8ed64a0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Blazor.LocalStorage" Version="8.0.0" />
<PackageVersion Include="Blazor.LocalStorage" Version="9.0.1" />
<PackageVersion Include="coverlet.collector" Version="6.0.2" />
<PackageVersion Include="GitHub.Actions.Core" Version="8.1.1" />
<PackageVersion Include="GitHub.Actions.Octokit" Version="8.1.1" />
Expand All @@ -22,11 +22,11 @@
<PackageVersion Include="Microsoft.Testing.Platform.MSBuild" Version="1.4.3" />
<PackageVersion Include="MSTest.Engine" Version="1.0.0-alpha.24562.1" />
<PackageVersion Include="MSTest.SourceGeneration" Version="1.0.0-alpha.24562.1" />
<PackageVersion Include="MSTest.TestFramework" Version="3.6.3" />
<PackageVersion Include="MSTest.Analyzers" Version="3.6.3" />
<PackageVersion Include="MSTest.TestFramework" Version="3.6.4" />
<PackageVersion Include="MSTest.Analyzers" Version="3.6.4" />
<PackageVersion Include="Nito.AsyncEx.Coordination" Version="5.1.2" />
<PackageVersion Include="Pathological.Globbing" Version="9.0.0" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="7.0.0" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="7.1.0" />
<PackageVersion Include="Markdig" Version="0.38.0" />
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="9.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.SignalR.Client" Version="9.0.0" />
Expand Down
1 change: 1 addition & 0 deletions src/ProfanityFilter.Action/ProfanityFilter.Action.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<PublishAot>true</PublishAot>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<JsonSerializerIsReflectionEnabledByDefault>false</JsonSerializerIsReflectionEnabledByDefault>
<EnableSdkContainerSupport>true</EnableSdkContainerSupport>
<NoWarn>$(NoWarn);NU5104;IL2104;</NoWarn>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/ProfanityFilter.WebApi/Components/Pages/Home.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected override async Task OnAfterRenderAsync(bool firstRender)
return;
}

if (await LocalStorage.GetItemAsync("selected-strategy") is { } strategy &&
if (await LocalStorage.GetItemAsync<string>("selected-strategy") is { } strategy &&
Enum.TryParse<ReplacementStrategy>(strategy, out var selectedStrategy))
{
_selectedStrategy = selectedStrategy;
Expand Down

0 comments on commit 8ed64a0

Please sign in to comment.