admin: fix theme flash

This commit is contained in:
dswbx
2025-07-02 18:14:35 +02:00
parent 45138c25f0
commit 22b54862e8
4 changed files with 4 additions and 6 deletions

View File

@@ -185,9 +185,7 @@ function UserMenu() {
}
}
if (!options.theme) {
items.push(() => <UserMenuThemeToggler />);
}
items.push(() => <UserMenuThemeToggler />);
items.push(() => (
<div className="font-mono leading-none text-xs text-primary/50 text-center pb-1 pt-2 mt-1 border-t border-primary/5">
{getVersion()}