mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-28 20:59:23 -06:00
feat: add comment for temporary theme logic
This commit is contained in:
@@ -4,6 +4,7 @@ import { IconButton } from "@mui/material";
|
||||
import SunAndMoonIcon from "./SunAndMoonIcon";
|
||||
|
||||
const ThemeSwitch = () => {
|
||||
// TODO: change to use the MUI theme
|
||||
const [currentTheme, setCurrentTheme] = useState("light");
|
||||
const toggleTheme = () =>
|
||||
setCurrentTheme((prevState) => (prevState === "light" ? "dark" : "light"));
|
||||
|
||||
Reference in New Issue
Block a user