Skip to content

Commit

Permalink
fix: #733
Browse files Browse the repository at this point in the history
  • Loading branch information
wugaoliang committed Feb 7, 2020
1 parent 603aac7 commit b187f6c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions site/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ import { Provider } from 'react-redux'
import App from './view'
import store from './redux/store'
import './style/index.scss'
import { ThemeContext } from '../components/context'

render(
<Provider store={store} value='orange'>
<ThemeContext.Provider store={store} value='orange'>
<App />
</ThemeContext.Provider>
<Provider store={store}>
<App />
</Provider>,
document.getElementById('app')
)

0 comments on commit b187f6c

Please sign in to comment.