Skip to content

Commit 7cf7ece

Browse files
nhannahvirdesai
andauthored
Update src/contexts/themeContext/ThemeContext.tsx
Co-authored-by: Vir Desai <[email protected]>
1 parent 95af76f commit 7cf7ece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contexts/themeContext/ThemeContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const ThemeProvider: React.FC<ThemeProviderInputValue> = (props) => {
4141
}
4242

4343
return mergeThemes({ style, theme });
44-
}, [theme, style, mergedStyle]);
44+
}, [mergedStyle, style, theme]);
4545

4646
return (
4747
<ThemeContext.Provider value={modifiedTheme}>

0 commit comments

Comments
 (0)