Skip to content

Commit 0f08d29

Browse files
committed
chore(sample-applications): localization is not working
1 parent 669daf7 commit 0f08d29

File tree

1 file changed

+1
-1
lines changed
  • sample-applications/blazing-coffee/BlazingCoffee/Client

1 file changed

+1
-1
lines changed

sample-applications/blazing-coffee/BlazingCoffee/Client/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static async Task Main(string[] args)
2424

2525
var host = builder.Build();
2626
var localStorage = host.Services.GetRequiredService<ILocalStorageService>();
27-
var result = await localStorage.GetItemAsStringAsync("BlazorCulture");
27+
var result = await localStorage.GetItemAsync<string>("BlazorCulture");
2828
if (result != null)
2929
{
3030
var culture = new CultureInfo(result);

0 commit comments

Comments
 (0)