From efa106f732878917d54dae7ea2620154ffdeb321 Mon Sep 17 00:00:00 2001 From: Peter Carl Pardo Date: Sun, 15 Dec 2024 23:51:53 +0800 Subject: [PATCH] feat: add comment for temporary theme logic --- Client/src/Components/ThemeSwitch/index.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/Client/src/Components/ThemeSwitch/index.jsx b/Client/src/Components/ThemeSwitch/index.jsx index 533b026b2..e5758eab1 100644 --- a/Client/src/Components/ThemeSwitch/index.jsx +++ b/Client/src/Components/ThemeSwitch/index.jsx @@ -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"));