Skip to content

Commit

Permalink
Fixed a typo in cookie name in ThemeServicePage.razor (#1865)
Browse files Browse the repository at this point in the history
  • Loading branch information
iNenadnano authored Dec 19, 2024
1 parent d216973 commit 4a42548
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RadzenBlazorDemos/Pages/ThemeServicePage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Register CookieThemeService in all <code>Program.cs</code> files of your applica
<code>
@@inject Radzen.ThemeService ThemeService
@@{
var theme = HttpContext.Request.Cookies["MuApplicationTheme"];
var theme = HttpContext.Request.Cookies["MyApplicationTheme"];

if (!string.IsNullOrEmpty(theme))
{
Expand All @@ -137,4 +137,4 @@ Register CookieThemeService in all <code>Program.cs</code> files of your applica
</code>
</pre>
</text>;
}
}

0 comments on commit 4a42548

Please sign in to comment.