mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 02:36:36 +00:00
bumpup react (0.13.3->0.14.0), reacthmr work perfectly
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import React, { PropTypes, findDOMNode } from 'react'
|
||||
import React, { PropTypes } from 'react'
|
||||
import { connect, Provider } from 'react-redux'
|
||||
import auth from 'boost/auth'
|
||||
import linkState from 'boost/linkState'
|
||||
@@ -6,6 +6,7 @@ import Select from 'react-select'
|
||||
import api from 'boost/api'
|
||||
import ProfileImage from 'boost/components/ProfileImage'
|
||||
import store from 'boost/store'
|
||||
var { findDOMNode } = require('react-dom')
|
||||
|
||||
const PROFILE = 'PROFILE'
|
||||
const PREFERENCES = 'PREFERENCES'
|
||||
@@ -420,7 +421,7 @@ export default class PreferencesModal extends React.Component {
|
||||
render () {
|
||||
return (
|
||||
<Provider store={store}>
|
||||
{() => <RootComponent/>}
|
||||
<RootComponent/>
|
||||
</Provider>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user