import { createStore, combineReducers, applyMiddleware } from 'redux';
import { routerMiddleware, push } from 'react-router-redux'
const middleware = routerMiddleware(browserHistory)
const store = createStore(
reducers,
applyMiddleware(middleware)
)
store.dispatch(push('/foo'))
this.props.initializeForm({
endDate: this.props.data.endDate,
startDate: this.props.data.endDate,
eventSubType: this.props.data.eventSubType,
eventType : this.props.data.eventType,
summary: this.props.data.summary,
uuid: this.props.data.uuid,
headline: this.props.data.headline,
noteType: this.props.data.noteType,
sourceUrl: this.props.data.sourceUrl
});