Skip to content

Commit 06ac436

Browse files
authored
Update ThemeSwitcher.js
1 parent c79b3ff commit 06ac436

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

6-hooks/30-barbenheimer/ThemeSwitcher.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import React from "react";
55
import { useContext } from "react";
6-
import { ThemeContext } from "./App.jsx";
6+
import { ThemeContext } from "./App.js";
77

88
export default function ThemeSwitcher() {
99
const { theme, toggleTheme } = useContext(ThemeContext);
@@ -15,4 +15,4 @@ export default function ThemeSwitcher() {
1515
</button>
1616
</div>
1717
);
18-
}
18+
}

0 commit comments

Comments
 (0)