Skip to content

Commit

Permalink
Remove unnecessary serialization (#16775)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeAlhayek authored Sep 20, 2024
1 parent 6583a81 commit f5b335d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/OrchardCore.Themes/TheTheme/Views/Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
@inject IUpdateModelAccessor UpdateModelAccessor
@inject ThemeTogglerService ThemeTogglerService
@{
var adminSettings = Site.As<AdminSettings>();
// Navbar is pre-rendered to allow resource injection.
var navbar = await DisplayAsync(await DisplayManager.BuildDisplayAsync(UpdateModelAccessor.ModelUpdater));
}
Expand Down

0 comments on commit f5b335d

Please sign in to comment.