Revert "Add missing admin action files and navigation links"
This reverts commit 41be6835bf.
This commit is contained in:
@@ -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