Skip to content

Commit

Permalink
PR cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
anyoussefinia committed Dec 13, 2024
1 parent 9580202 commit 2933f8e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion services/ui-src/src/containers/UserManagement.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ const UserManagement = () => {
console.log("Error while fetching user list.", error);
setAlertCode(RESPONSE_CODE[error.message]);
});
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [userProfile.email, userStatus]);

// Load the data from the backend.
Expand Down
2 changes: 1 addition & 1 deletion services/ui-src/src/containers/UserPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const UserPage = () => {
const { userProfile, setUserInfo, updatePhoneNumber, userRole, userStatus } =
useAppContext();
const location = useLocation();
let { userId } = useParams() ?? {};
const { userId } = useParams() ?? {};
const [profileData, setProfileData] = useState({});
const [profileRole, setProfileRole] = useState("");
const [profileStatus, setProfileStatus] = useState("");
Expand Down

0 comments on commit 2933f8e

Please sign in to comment.