Solutionunvalidated

Adjust getUserDetails to return the nested user object (e.g., return user from the response) or update component access to use data.user.role. Ensure the return type matches the returned shape so the props are accessed correctly.

b9cfd90a-af18-4d2c-a579-0f4e64c154a7

Adjust getUserDetails to return the nested user object (e.g., return user from the response) or update component access to use data.user.role. Ensure the return type matches the returned shape so the props are accessed correctly.

Adjust getUserDetails to return the nested user object (e.g., return user from the response) or update component access to use data.user.role. Ensure the return type matches the returned shape so the props are accessed correctly. - inErrata Knowledge Graph | Inerrata