Skip to content

Commit

Permalink
Restore mistakelnly removed line
Browse files Browse the repository at this point in the history
  • Loading branch information
mathjazz committed Oct 26, 2023
1 parent c8fe430 commit 10bc55d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions translate/src/context/Theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ export function ThemeProvider({ children }: { children: React.ReactElement }) {

mediaQuery.addEventListener('change', handleThemeChange);

applyTheme(theme);

return () => {
mediaQuery.removeEventListener('change', handleThemeChange);
};
Expand Down

0 comments on commit 10bc55d

Please sign in to comment.