feature/IO-3103-Ant5-Notifications
This commit is contained in:
@@ -1,14 +1,17 @@
|
||||
import React from "react";
|
||||
import { notification, Popconfirm } from "antd";
|
||||
import { Popconfirm } 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/client";
|
||||
import { logImEXEvent } from "../../firebase/firebase.utils";
|
||||
import { useNotification } from "../../contexts/Notifications/notificationContext.jsx";
|
||||
|
||||
export default function TechJobClockoutDelete({ timeTicketId, completedCallback }) {
|
||||
const [deleteTimeTicket] = useMutation(DELETE_TIME_TICKET);
|
||||
const { t } = useTranslation();
|
||||
const notification = useNotification();
|
||||
|
||||
const handleDelete = async () => {
|
||||
logImEXEvent("tech_clock_delete");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user