modal accept with notifications
This commit is contained in:
@ -25,6 +25,8 @@ import { caseOfNum } from "@utils/helper";
|
||||
|
||||
import { apiRequest } from "@api/request";
|
||||
|
||||
import { useNotification } from "@hooks/useNotification";
|
||||
|
||||
import BaseButton from "@components/Common/BaseButton/BaseButton";
|
||||
import { Footer } from "@components/Common/Footer/Footer";
|
||||
import { Loader } from "@components/Common/Loader/Loader";
|
||||
@ -49,7 +51,6 @@ import archive from "assets/images/archiveIcon.png";
|
||||
import avatarMok from "assets/images/avatarMok.png";
|
||||
|
||||
import { getCorrectDate } from "../../components/Calendar/calendarHelper";
|
||||
import {useNotification} from "@hooks/useNotification";
|
||||
|
||||
export const ProjectTracker = () => {
|
||||
const dispatch = useDispatch();
|
||||
@ -73,7 +74,7 @@ export const ProjectTracker = () => {
|
||||
const startWrapperIndexTest = useRef({});
|
||||
const projectBoard = useSelector(getProjectBoard);
|
||||
const loader = useSelector(getBoarderLoader);
|
||||
const { showNotification } = useNotification()
|
||||
const { showNotification } = useNotification();
|
||||
|
||||
useEffect(() => {
|
||||
dispatch(activeLoader());
|
||||
@ -226,7 +227,7 @@ export const ProjectTracker = () => {
|
||||
} else {
|
||||
dispatch(setProjectBoardFetch(projectBoard.id));
|
||||
}
|
||||
showNotification({show: true, text: 'Колонка удалена', type: 'error'})
|
||||
showNotification({ show: true, text: "Колонка удалена", type: "error" });
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user