diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx
index a0897ca..3e9b2e0 100644
--- a/frontend/src/App.tsx
+++ b/frontend/src/App.tsx
@@ -23,7 +23,10 @@ const App = () => {
accentColor="crimson"
>
-
+
void }) => {
+const Zroker = ({
+ theme,
+ setTheme,
+}: {
+ theme: Theme;
+ setTheme: (theme: Theme) => void;
+}) => {
const { enable } = useEnable();
return (
@@ -17,9 +22,9 @@ const Zroker = ({ setTheme }: { setTheme: (theme: Theme) => void }) => {
size="4"
radius="full"
variant="ghost"
- onClick={() => setTheme(isDark() ? "light" : "dark")}
+ onClick={() => setTheme(theme == "dark" ? "light" : "dark")}
>
- {isDark() ? : }
+ {theme == "dark" ? : }