bro, I am facing one error I have tried the past 2 days to figure it out in stack-overflow still unable to do it help me. i am using your code sample only.
@cryptotv3013 Жыл бұрын
This is the error : Uncaught TypeError: Cannot destructure property 'users' of '(0 , react_redux__WEBPACK_IMPORTED_MODULE_1__.useSelector)(...)' as it is undefined.
@nth7899 Жыл бұрын
In store.js give the reducer name as user
@balag5764 Жыл бұрын
export default userSlice.reducer; add this line in User.js file