feature/IO-3103-Ant5-Notifications
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
import { Button, notification } from "antd";
|
||||
import { Button } from "antd";
|
||||
import Axios from "axios";
|
||||
import React, { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { useNotification } from "../../contexts/Notifications/notificationContext.jsx";
|
||||
|
||||
export default function JobCalculateTotals({ job, disabled, refetch }) {
|
||||
const { t } = useTranslation();
|
||||
const [loading, setLoading] = useState(false);
|
||||
const notification = useNotification();
|
||||
|
||||
const handleCalculate = async () => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user