Skip to content

Commit 7b126e5

Browse files
committed
Cleanup
1 parent d182461 commit 7b126e5

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

src/components/ThemeToggle/ThemeToggle.styles.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export const StyledButton = styled.button`
1616
1717
@media (max-width: 991px) {
1818
top: 59px;
19-
/* right: 119.5px; */
2019
}
2120
2221
&.light {

src/context/globalContext.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ export const globalContext = createContext()
77
const Provider = ({ children }) => {
88
const [theme, setTheme] = useState(`dark`)
99

10-
console.log(window.localStorage)
11-
1210
useEffect(() => {
1311
if (window.localStorage.getItem(`theme`)) {
1412
setTheme(window.localStorage.getItem("theme"));

0 commit comments

Comments
 (0)