Lint all the things
This commit is contained in:
@@ -82,7 +82,7 @@ const NotificationSettingsForm = ({ currentUser, bodyshop }) => {
|
||||
} else {
|
||||
throw new Error("Failed to update auto-add setting");
|
||||
}
|
||||
} catch (err) {
|
||||
} catch {
|
||||
setAutoAddEnabled(!checked); // Revert on error
|
||||
notification.error({ message: t("notifications.labels.auto-add-failure") });
|
||||
}
|
||||
@@ -102,7 +102,7 @@ const NotificationSettingsForm = ({ currentUser, bodyshop }) => {
|
||||
} else {
|
||||
throw new Error("Failed to update notification settings");
|
||||
}
|
||||
} catch (err) {
|
||||
} catch {
|
||||
notification.error({ message: t("notifications.labels.notification-settings-failure") });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user