modal accept with notifications

This commit is contained in:
2023-07-14 03:03:33 +03:00
parent 242f298bee
commit 001920a840
17 changed files with 310 additions and 25 deletions

View File

@ -49,6 +49,7 @@ 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();
@ -72,6 +73,7 @@ export const ProjectTracker = () => {
const startWrapperIndexTest = useRef({});
const projectBoard = useSelector(getProjectBoard);
const loader = useSelector(getBoarderLoader);
const { showNotification } = useNotification()
useEffect(() => {
dispatch(activeLoader());
@ -224,6 +226,7 @@ export const ProjectTracker = () => {
} else {
dispatch(setProjectBoardFetch(projectBoard.id));
}
showNotification({show: true, text: 'Колонка удалена', type: 'error'})
});
}