fatihinn
KPCKevin Powell - Community
•Created by fatihinn on 11/15/2024 in #front-end
React reducer giving error
import React, { Component } from "react";
import { connect } from "react-redux";
import * as categoryActions from "../../redux/actions/categoryActions";
import { bindActionCreators } from "redux";
class CategoryList extends Component {
componentDidMount() {
this.props.actions.getCategories();
}
render() {
return (
<div>
<h3>Categories: {this.props.categories.length}</h3>
</div>
);
}
}
function mapStateToProps(state) {
return {
categories: state.categoryListReducer,
};
}
function mapDispatchToProps(dispatch) {
return {
actions: {
getCategories: bindActionCreators(categoryActions.getCategories,dispatch),
},
};
}
export default connect(mapStateToProps, mapDispatchToProps)(CategoryList);
2 replies
KPCKevin Powell - Community
•Created by fatihinn on 11/19/2022 in #back-end
phpMyAdmin - Error
yes i have
18 replies
KPCKevin Powell - Community
•Created by fatihinn on 11/19/2022 in #back-end
phpMyAdmin - Error
hmm understand
18 replies
KPCKevin Powell - Community
•Created by fatihinn on 11/19/2022 in #back-end
phpMyAdmin - Error
yes correct
18 replies
KPCKevin Powell - Community
•Created by fatihinn on 11/19/2022 in #back-end
phpMyAdmin - Error
and reset to default
18 replies
KPCKevin Powell - Community
•Created by fatihinn on 11/19/2022 in #back-end
phpMyAdmin - Error
but does not work again
18 replies
KPCKevin Powell - Community
•Created by fatihinn on 11/19/2022 in #back-end
phpMyAdmin - Error
18 replies
KPCKevin Powell - Community
•Created by fatihinn on 11/19/2022 in #back-end
phpMyAdmin - Error
and restored
18 replies
KPCKevin Powell - Community
•Created by fatihinn on 11/19/2022 in #back-end
phpMyAdmin - Error
no, gave that error and changed php version 7.4 - 8.1 and doesnt fixed
18 replies
KPCKevin Powell - Community
•Created by fatihinn on 11/19/2022 in #back-end
php function doesn't work on hosting but working localhost
Bro can u help again pls I'm getting one issue? 🙂 I added new title on #back-end phpMyAdmin getting error. explained a little but I don't quite understand what I should do
69 replies
KPCKevin Powell - Community
•Created by fatihinn on 11/19/2022 in #back-end
php function doesn't work on hosting but working localhost
thank you so much you worked hard, you helped a lot
69 replies
KPCKevin Powell - Community
•Created by fatihinn on 11/19/2022 in #back-end
php function doesn't work on hosting but working localhost
sorry i deleted it
69 replies
KPCKevin Powell - Community
•Created by fatihinn on 11/19/2022 in #back-end
php function doesn't work on hosting but working localhost
ah okay
69 replies
KPCKevin Powell - Community
•Created by fatihinn on 11/19/2022 in #back-end
php function doesn't work on hosting but working localhost
Isn't that right?
69 replies
KPCKevin Powell - Community
•Created by fatihinn on 11/19/2022 in #back-end
php function doesn't work on hosting but working localhost
69 replies
KPCKevin Powell - Community
•Created by fatihinn on 11/19/2022 in #back-end
php function doesn't work on hosting but working localhost
does it have to be at the top
69 replies
KPCKevin Powell - Community
•Created by fatihinn on 11/19/2022 in #back-end
php function doesn't work on hosting but working localhost
69 replies
KPCKevin Powell - Community
•Created by fatihinn on 11/19/2022 in #back-end
php function doesn't work on hosting but working localhost
ah sorry
69 replies
KPCKevin Powell - Community
•Created by fatihinn on 11/19/2022 in #back-end
php function doesn't work on hosting but working localhost
69 replies
KPCKevin Powell - Community
•Created by fatihinn on 11/19/2022 in #back-end
php function doesn't work on hosting but working localhost
do you know how can i send to main domain
69 replies