Skip to content

Commit bd8714e

Browse files
committed
theme fixes 2
1 parent bf1754d commit bd8714e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { FaGithub } from "react-icons/fa";
66

77
function App() {
88
const { theme, setTheme } = useTheme();
9-
setTheme("dark");
109
const [mousePosition, setMousePosition] = useState({ x: 0, y: 0 });
1110
function handleMouseMovement({
1211
clientX,
@@ -23,6 +22,7 @@ function App() {
2322

2423
return (
2524
<ThemeProvider>
25+
<>{setTheme("dark")}</>
2626
<div
2727
onMouseMove={handleMouseMovement}
2828
style={{

0 commit comments

Comments
 (0)