Lint all the things

This commit is contained in:
Dave
2025-08-19 16:23:29 -04:00
parent f6d6b548be
commit 33fb60ca1a
640 changed files with 2129 additions and 3927 deletions

View File

@@ -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,

View File

@@ -14,7 +14,7 @@ export const sendEmail = (email) => ({
payload: email
});
export const sendEmailSuccess = (options) => ({
export const sendEmailSuccess = () => ({
type: EmailActionTypes.SEND_EMAIL_SUCCESS
});

View File

@@ -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,

View File

@@ -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) {