score:1

Accepted answer

in submithandler method, you are not passing pic variable in updateuserprofile.

use this

dispatch(updateuserprofile({ id: user._id, name, email, password, pic }));


Related Query

More Query from same tag