|
@@ -14,9 +14,9 @@ import { Provider} from 'react-redux'
|
14
|
14
|
import { createStore, applyMiddleware } from 'redux';
|
15
|
15
|
import rootReducer from './redux/reducers'
|
16
|
16
|
import thunk from 'redux-thunk'
|
17
|
|
-import { connect } from 'react-redux'
|
|
17
|
+/*import { connect } from 'react-redux'
|
18
|
18
|
import { bindActionCreators } from 'redux'
|
19
|
|
-import { fetchUser } from './redux/actions/index'
|
|
19
|
+import { fetchUser } from './redux/actions/index'*/
|
20
|
20
|
/*const seConfig = {
|
21
|
21
|
apiKey: "AIzaSyDW-ABAQ3r_WR7C7WC_3VprL77NcAoitJI",
|
22
|
22
|
authDomain: "freehand-d8ecd.firebaseapp.com",
|
|
@@ -96,9 +96,10 @@ export class App extends Component {
|
96
|
96
|
}
|
97
|
97
|
}
|
98
|
98
|
|
99
|
|
-const mapStateToProps = (store) => ({
|
|
99
|
+export default App
|
|
100
|
+/*const mapStateToProps = (store) => ({
|
100
|
101
|
currentUser: store.userState.currentUser
|
101
|
102
|
})
|
102
|
103
|
const mapDispatchProps = (dispatch) => bindActionCreators({fetchUser}, dispatch);
|
103
|
104
|
|
104
|
|
-export default connect(mapStateToProps, mapDispatchProps)(App);
|
|
105
|
+export default connect(mapStateToProps, mapDispatchProps)(App);*/
|