feature/IO-3103-Ant5-Notifications
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
import { gql, useMutation } from "@apollo/client";
|
||||
import { Button, notification, Popconfirm } from "antd";
|
||||
import { Button, Popconfirm } from "antd";
|
||||
import React, { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { connect } from "react-redux";
|
||||
import { createStructuredSelector } from "reselect";
|
||||
import { INSERT_EXPORT_LOG } from "../../graphql/accounting.queries";
|
||||
import { selectBodyshop, selectCurrentUser } from "../../redux/user/user.selectors";
|
||||
import { useNotification } from "../../contexts/Notifications/notificationContext.jsx";
|
||||
|
||||
const mapStateToProps = createStructuredSelector({
|
||||
bodyshop: selectBodyshop,
|
||||
@@ -41,6 +42,7 @@ export function BillMarkSelectedExported({
|
||||
}
|
||||
}
|
||||
`);
|
||||
const notification = useNotification();
|
||||
|
||||
const handleUpdate = async () => {
|
||||
setLoading(true);
|
||||
|
||||
Reference in New Issue
Block a user