Revert "Add missing admin action files and navigation links"
This reverts commit 41be6835bf.
This commit is contained in:
1 parent
4a1e1115b3
commit
4d515bc400
338 files changed
+5949
-28144
No files matched your search
@@ -9,8 +9,8 @@ import { useState } from "react";
|
||||
* theme before paint to avoid a flash — this component only reflects/toggles it.
|
||||
*/
|
||||
export function ThemeSwitcher() {
|
||||
const [dark, setDark] = useState(
|
||||
() => typeof window !== "undefined" && document.documentElement.classList.contains("dark"),
|
||||
const [dark, setDark] = useState(() =>
|
||||
typeof window !== "undefined" && document.documentElement.classList.contains("dark"),
|
||||
);
|
||||
|
||||
function toggle() {
|
||||
|
||||
Reference in new issue
Block a user