Ramya Lint fix Add Userprofile - Userprofile subcomponent - #1624
Ramya Lint fix Add Userprofile - Userprofile subcomponent #1624scoopstroop92 wants to merge 5 commits into
Conversation
this-journey
left a comment
There was a problem hiding this comment.
Hello! I attempted to create a basic new volunteer user and came across the error "An unknown error occurred while attempting to create this user." I've attached a video for reference. The console shows an error that states:
index.js:1 Warning: Failed prop type: Invalid prop invalid of type string supplied to Input, expected boolean.
in Input (at UserProfileAdd.jsx:716)
in AddUserProfile (created by Connect(AddUserProfile))
in Connect(AddUserProfile) (created by Connect(Connect(AddUserProfile)))
in Connect(Connect(AddUserProfile)) (at NewUserPopup.jsx:54)
in div (created by ModalBody)
in ModalBody (at NewUserPopup.jsx:53)
in div (created by Modal)
in div (created by Modal)
in div (created by Transition)
in Transition (created by Fade)
in Fade (created by Modal)
in div (created by Modal)
in Portal (created by Modal)
in Modal (at NewUserPopup.jsx:39)
in Unknown (created by Connect(Component))
in Connect(Component) (at UserManagement.jsx:134)
in div (created by Container)
in Container (at UserManagement.jsx:70)
in UserManagement (created by Connect(UserManagement))
in Connect(UserManagement) (at ProtectedRoute.jsx:41)
in Route (at ProtectedRoute.jsx:32)
in ProtectedRoute (created by Connect(ProtectedRoute))
in Connect(ProtectedRoute) (at routes.js:129)
in Switch (at routes.js:64)
in Switch (at routes.js:55)
in Router (created by BrowserRouter)
in BrowserRouter (at App.jsx:54)
in PersistGate (at App.jsx:53)
in Provider (at App.jsx:52)
in App (at src/index.js:11)
PR.1624.FE.mov
|
@this-journey Thank you for the error logs. That helped. I have fixed the errors. Could you retest and let me know your observations |
Description
Main changes explained:
How to test:
npm installand...to run this PR locallyNote:
Thoroughly test the Add User new User functionality and report any error you see so that I can go ahead make similar changes in the other submodules of UserProfile component