set default theme value (light) (#1001)
This commit is contained in:
parent
f8499f3375
commit
276f115d3f
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ class App extends React.Component {
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
this.setState({ isMounted: true }); // eslint-disable-line react/no-did-mount-set-state
|
this.setState({ isMounted: true }); // eslint-disable-line react/no-did-mount-set-state
|
||||||
|
document.body.className = 'light';
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps) {
|
componentWillReceiveProps(nextProps) {
|
||||||
|
|
Loading…
Reference in a new issue