Package cleanup & transition to latest apollo.
This commit is contained in:
@@ -3,7 +3,7 @@ import { Popconfirm, notification } from "antd";
|
||||
import { DeleteFilled } from "@ant-design/icons";
|
||||
import { DELETE_TIME_TICKET } from "../../graphql/timetickets.queries";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { useMutation } from "@apollo/react-hooks";
|
||||
import { useMutation } from "@apollo/client";
|
||||
import { logImEXEvent } from "../../firebase/firebase.utils";
|
||||
|
||||
export default function TechJobClockoutDelete({
|
||||
@@ -39,7 +39,8 @@ export default function TechJobClockoutDelete({
|
||||
title={t("timetickets.labels.deleteconfirm")}
|
||||
okButtonProps={{ type: "danger" }}
|
||||
okText={t("general.actions.delete")}
|
||||
onConfirm={handleDelete}>
|
||||
onConfirm={handleDelete}
|
||||
>
|
||||
<DeleteFilled style={{ margin: "1rem", color: "red" }} />
|
||||
</Popconfirm>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user