File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " jderobot-ide-interface" ,
3- "version" : " 0.2.08 " ,
3+ "version" : " 0.2.09 " ,
44 "main" : " dist/main.js" ,
55 "typings" : " dist/index.d.ts" ,
66 "files" : [
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { merge } from "lodash";
33import { Theme } from "Types" ;
44
55interface ThemeProviderProps {
6- theme ? : Theme ;
6+ theme : Theme ;
77 children ?: React . ReactNode ;
88}
99
@@ -51,7 +51,7 @@ export const useTheme = () => useContext(ThemeContext) ?? defaultTheme;
5151
5252export const ThemeProvider = ( { theme, children } : ThemeProviderProps ) => {
5353 return (
54- < ThemeContext . Provider value = { merge ( defaultTheme , theme ) } >
54+ < ThemeContext . Provider value = { theme } >
5555 { children }
5656 </ ThemeContext . Provider >
5757 ) ;
You can’t perform that action at this time.
0 commit comments