We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 669daf7 commit 0f08d29Copy full SHA for 0f08d29
sample-applications/blazing-coffee/BlazingCoffee/Client/Program.cs
@@ -24,7 +24,7 @@ public static async Task Main(string[] args)
24
25
var host = builder.Build();
26
var localStorage = host.Services.GetRequiredService<ILocalStorageService>();
27
- var result = await localStorage.GetItemAsStringAsync("BlazorCulture");
+ var result = await localStorage.GetItemAsync<string>("BlazorCulture");
28
if (result != null)
29
{
30
var culture = new CultureInfo(result);
0 commit comments