File tree Expand file tree Collapse file tree 10 files changed +19
-19
lines changed
Expand file tree Collapse file tree 10 files changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ export const SubscriptionsSuccess = props => {
4343 )
4444}
4545
46- const mapStateToProps = ( store , ownProps ) => ( {
46+ const mapStateToProps = ( state , ownProps ) => ( {
4747 cookies : ownProps . cookies ,
48- error : store . error
48+ error : state . error
4949} )
5050export default connect (
5151 mapStateToProps
Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ export class EventInfo extends Component {
3434 }
3535}
3636
37- const mapStateToProps = ( store , ownProps ) => ( {
38- events : store . event ,
39- event : store . eventInfo
37+ const mapStateToProps = ( state , ownProps ) => ( {
38+ events : state . event ,
39+ event : state . eventInfo
4040} )
4141export default connect (
4242 mapStateToProps ,
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export class EventsList extends Component {
6161 }
6262}
6363
64- const mapStateToProps = store => ( { events : store . events } )
64+ const mapStateToProps = state => ( { events : state . events } )
6565export default connect (
6666 mapStateToProps ,
6767 { fetchEvents, setLastLocation }
Original file line number Diff line number Diff line change @@ -101,9 +101,9 @@ export class LogIn extends Component {
101101 }
102102}
103103
104- const mapStateToProps = ( store , ownProps ) => ( {
105- loggedInUser : store . loggedInUser ,
106- lastLocation : store . lastLocation ,
104+ const mapStateToProps = ( state , ownProps ) => ( {
105+ loggedInUser : state . loggedInUser ,
106+ lastLocation : state . lastLocation ,
107107 cookies : ownProps . cookies
108108} )
109109export default connect (
Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ export class ProjectInfo extends Component {
3434 }
3535}
3636
37- const mapStateToProps = ( store , ownProps ) => ( {
38- projects : store . projects ,
39- project : store . projectInfo
37+ const mapStateToProps = ( state , ownProps ) => ( {
38+ projects : state . projects ,
39+ project : state . projectInfo
4040} )
4141export default connect (
4242 mapStateToProps ,
Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ export class ProjectsList extends Component {
245245 }
246246}
247247
248- const mapStateToProps = store => ( { projects : store . projects , error : store . error } )
248+ const mapStateToProps = state => ( { projects : state . projects , error : state . error } )
249249export default connect (
250250 mapStateToProps ,
251251 { fetchProjects, setLastLocation }
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ export class SignUp extends Component {
102102 }
103103}
104104
105- const mapStateToProps = store => ( { signedUpUser : store . signedUpUser } )
105+ const mapStateToProps = state => ( { signedUpUser : state . signedUpUser } )
106106export default connect (
107107 mapStateToProps ,
108108 { postSignUpInfo }
Original file line number Diff line number Diff line change @@ -94,10 +94,10 @@ export const Subscriptions = props => {
9494 </ Fragment >
9595 )
9696}
97- const mapStateToProps = ( store , ownProps ) => ( {
98- loggedInUser : store . loggedInUser ,
97+ const mapStateToProps = ( state , ownProps ) => ( {
98+ loggedInUser : state . loggedInUser ,
9999 cookies : ownProps . cookies ,
100- error : store . error
100+ error : state . error
101101} )
102102const mapDispatchToProps = dispatch => {
103103 return {
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export class UserProfile extends Component {
3535 }
3636}
3737
38- const mapStateToProps = store => ( { users : store . users , user : store . userInfo } )
38+ const mapStateToProps = state => ( { users : state . users , user : state . userInfo } )
3939export default connect (
4040 mapStateToProps ,
4141 { fetchUserInfo, setLastLocation }
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ export class UsersList extends Component {
106106 }
107107}
108108
109- const mapStateToProps = store => ( { users : store . users } )
109+ const mapStateToProps = state => ( { users : state . users } )
110110export default connect (
111111 mapStateToProps ,
112112 { fetchUsers, setLastLocation }
You can’t perform that action at this time.
0 commit comments