Lint all the things
This commit is contained in:
@@ -72,7 +72,7 @@ const userReducer = (state = INITIAL_STATE, action) => {
|
||||
currentUser: { ...state.currentUser, eulaIsAccepted: true },
|
||||
currentEula: null
|
||||
};
|
||||
case UserActionTypes.SIGN_IN_SUCCESS:
|
||||
case UserActionTypes.SIGN_IN_SUCCESS: {
|
||||
const { currentEula, ...currentUser } = action.payload;
|
||||
return {
|
||||
...state,
|
||||
@@ -81,6 +81,7 @@ const userReducer = (state = INITIAL_STATE, action) => {
|
||||
currentEula,
|
||||
error: null
|
||||
};
|
||||
}
|
||||
case UserActionTypes.SIGN_OUT_SUCCESS:
|
||||
return {
|
||||
...state,
|
||||
|
||||
@@ -137,7 +137,7 @@ export function* signOutStart() {
|
||||
imexshopid: state.user.bodyshop.imexshopid,
|
||||
type: "messaging"
|
||||
});
|
||||
} catch (error) {
|
||||
} catch {
|
||||
console.log("No FCM token. Skipping unsubscribe.");
|
||||
}
|
||||
|
||||
@@ -162,7 +162,7 @@ export function* updateUserDetails(userDetails) {
|
||||
type: "success",
|
||||
message: i18next.t("profile.successes.updated")
|
||||
});
|
||||
} catch (error) {
|
||||
} catch {
|
||||
//yield put(signOutFailure(error.message));
|
||||
}
|
||||
}
|
||||
@@ -277,7 +277,7 @@ export function* signInSuccessSaga({ payload }) {
|
||||
if (isParts) {
|
||||
window.$crisp.push(["do", "chat:hide"]);
|
||||
}
|
||||
} catch (e) {
|
||||
} catch {
|
||||
// no-op
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user