Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
OchiengPaul442 committed Mar 9, 2025
1 parent 5d3a4e1 commit 8131b9e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/platform/src/pages/account/login/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ const UserLogin = () => {
);
const user = response.users[0];

console.info('user', user);

if (!user.groups[0]?.grp_title) {
throw new Error(
'Server error. Contact support to add you to the AirQo Organisation',
Expand All @@ -76,7 +74,6 @@ const UserLogin = () => {
dispatch(getIndividualUserPreferences({ identifier: user._id })),
);

console.info('preferencesResponse', preferencesResponse);
let activeGroup;
if (preferencesResponse.payload.success) {
const preferences = preferencesResponse.payload.preferences;
Expand All @@ -100,7 +97,6 @@ const UserLogin = () => {
);
}

console.info('activeGroup', activeGroup);
localStorage.setItem('activeGroup', JSON.stringify(activeGroup));

dispatch(setUserInfo(user));
Expand Down

0 comments on commit 8131b9e

Please sign in to comment.