0
0
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:
yude 2021-05-22 10:28:32 +09:00
parent 3f205d95f5
commit d1f0180c13
Signed by: yude
GPG Key ID: EB0FE5D925C4A968

View File

@ -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' ? (