feature/IO-3103-Ant5-Notifications
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
import React from "react";
|
||||
import { Button, notification } from "antd";
|
||||
import { Button } from "antd";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { useMutation } from "@apollo/client";
|
||||
import { UPDATE_JOBS } from "../../graphql/jobs.queries";
|
||||
import { logImEXEvent } from "../../firebase/firebase.utils";
|
||||
import { useNotification } from "../../contexts/Notifications/notificationContext.jsx";
|
||||
|
||||
export default function OwnerDetailUpdateJobsComponent({ owner, selectedJobs, disabled }) {
|
||||
const { t } = useTranslation();
|
||||
const [updateJobs] = useMutation(UPDATE_JOBS);
|
||||
const notification = useNotification();
|
||||
|
||||
const handlecClick = (e) => {
|
||||
logImEXEvent("owner_update_jobs", { count: selectedJobs.length });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user