File tree 4 files changed +5
-6
lines changed
4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import CounterApp from './CounterApp' ;
3
- import { createStore } from 'redux/index ' ;
3
+ import { createStore } from 'redux' ;
4
4
import { Provider } from 'redux/react' ;
5
5
import * as reducers from '../reducers' ;
6
6
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
- import { bindActionCreators } from 'redux/index ' ;
2
+ import { bindActionCreators } from 'redux' ;
3
3
import { connect } from 'redux/react' ;
4
4
import Counter from '../components/Counter' ;
5
5
import * as CounterActions from '../actions/CounterActions' ;
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import TodoApp from './TodoApp' ;
3
- import { createStore , composeReducers } from 'redux/index ' ;
3
+ import { createStore } from 'redux' ;
4
4
import { Provider } from 'redux/react' ;
5
5
import * as reducers from '../reducers' ;
6
6
7
- const reducer = composeReducers ( reducers ) ;
8
- const store = createStore ( reducer ) ;
7
+ const store = createStore ( reducers ) ;
9
8
10
9
export default class App {
11
10
render ( ) {
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
- import { bindActionCreators } from 'redux/index ' ;
2
+ import { bindActionCreators } from 'redux' ;
3
3
import { Connector } from 'redux/react' ;
4
4
import Header from '../components/Header' ;
5
5
import MainSection from '../components/MainSection' ;
You can’t perform that action at this time.
0 commit comments