Lint all the things
This commit is contained in:
@@ -261,7 +261,7 @@ export function* insertAuditTrailSaga({ payload: { jobid, billid, operation, typ
|
||||
update(cache, { data }) {
|
||||
cache.modify({
|
||||
fields: {
|
||||
audit_trail(existingAuditTrail, { readField }) {
|
||||
audit_trail(existingAuditTrail) {
|
||||
const newAuditTrail = cache.writeQuery({
|
||||
data: data,
|
||||
query: INSERT_AUDIT_TRAIL,
|
||||
|
||||
@@ -14,7 +14,7 @@ export const sendEmail = (email) => ({
|
||||
payload: email
|
||||
});
|
||||
|
||||
export const sendEmailSuccess = (options) => ({
|
||||
export const sendEmailSuccess = () => ({
|
||||
type: EmailActionTypes.SEND_EMAIL_SUCCESS
|
||||
});
|
||||
|
||||
|
||||
@@ -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