Lint all the things
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import React from "react";
|
||||
import { Popconfirm } from "antd";
|
||||
import { DeleteFilled } from "@ant-design/icons";
|
||||
import { DELETE_TIME_TICKET } from "../../graphql/timetickets.queries";
|
||||
@@ -20,7 +19,7 @@ export default function TechJobClockoutDelete({ timeTicketId, completedCallback
|
||||
refetchQueries: ["QUERY_ACTIVE_TIME_TICKETS"]
|
||||
});
|
||||
|
||||
if (!!result.errors) {
|
||||
if (result.errors) {
|
||||
notification["error"]({
|
||||
message: t("timetickets.errors.deleting", {
|
||||
message: JSON.stringify(result.errors)
|
||||
|
||||
Reference in New Issue
Block a user