mirror of
https://github.com/yude-jp/yude.jp
synced 2025-01-03 10:00:11 +09:00
Remove console logging
This commit is contained in:
parent
3f205d95f5
commit
d1f0180c13
@ -22,7 +22,6 @@ const Layout = (props) => {
|
|||||||
setTheme(theme === "light" ? "dark" : "light");
|
setTheme(theme === "light" ? "dark" : "light");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
console.log(theme);
|
|
||||||
return (
|
return (
|
||||||
<button className="my-4 mx-3 text-2xl" onClick={switchTheme}>
|
<button className="my-4 mx-3 text-2xl" onClick={switchTheme}>
|
||||||
{theme === 'light' ? (
|
{theme === 'light' ? (
|
||||||
|
Loading…
Reference in New Issue
Block a user