diff options
Diffstat (limited to 'src/settings/index.jsx')
-rw-r--r-- | src/settings/index.jsx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/settings/index.jsx b/src/settings/index.jsx index 8097d31..6aec7a0 100644 --- a/src/settings/index.jsx +++ b/src/settings/index.jsx @@ -1,7 +1,8 @@ -import { h, render } from 'preact'; +import React from 'react'; +import ReactDOM from 'react-dom'; import SettingsComponent from './components'; import reducer from './reducers/setting'; -import { Provider } from 'preact-redux'; +import { Provider } from 'react-redux'; import promise from 'redux-promise'; import { createStore, applyMiddleware } from 'redux'; @@ -12,9 +13,9 @@ const store = createStore( document.addEventListener('DOMContentLoaded', () => { let wrapper = document.getElementById('vimvixen-settings'); - render( + ReactDOM.render( <Provider store={store}> - <SettingsComponent /> + <SettingsComponent store={store} /> </Provider>, wrapper ); |