Skip to content

Commit

Permalink
fix: Regression with initial context value
Browse files Browse the repository at this point in the history
  • Loading branch information
iRoachie committed Sep 5, 2019
1 parent 3aff74e commit f7235ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/config/ThemeProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import deepmerge from 'deepmerge';
import colors from './colors';

export const ThemeContext = React.createContext({
colors,
theme: {
colors,
},
});

export default class ThemeProvider extends React.Component {
Expand Down

0 comments on commit f7235ec

Please sign in to comment.