Lint all the things
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import React from "react";
|
||||
import { Button } from "antd";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { useMutation } from "@apollo/client";
|
||||
@@ -11,7 +10,7 @@ export default function VehicleDetailUpdateJobsComponent({ vehicle, selectedJobs
|
||||
const [updateJobs] = useMutation(UPDATE_JOBS);
|
||||
const notification = useNotification();
|
||||
|
||||
const handlecClick = (e) => {
|
||||
const handlecClick = () => {
|
||||
logImEXEvent("vehicle_update_jobs");
|
||||
|
||||
updateJobs({
|
||||
@@ -28,7 +27,7 @@ export default function VehicleDetailUpdateJobsComponent({ vehicle, selectedJobs
|
||||
}
|
||||
}
|
||||
})
|
||||
.then((response) => {
|
||||
.then(() => {
|
||||
notification["success"]({ message: t("jobs.successes.updated") });
|
||||
})
|
||||
.catch((error) => {
|
||||
|
||||
Reference in New Issue
Block a user