- Timestamp:
- 06/17/24 21:59:14 (2 weeks ago)
- Branches:
- main
- Children:
- 08f82ec
- Parents:
- b248810
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jobvista-frontend/src/views/job_advertisements/DeleteJobAdModal.js
rb248810 rbefb988 1 1 import React, {useState} from "react"; 2 import ". /Form.css";2 import "../shared_css/Modal.css"; 3 3 4 4 import 'react-responsive-modal/styles.css'; … … 15 15 import {useDispatch, useSelector} from "react-redux"; 16 16 import {JobAdvertisementActions} from "../../redux/actions/jobAdvertisementActions"; 17 import {notifyJobAdDelete} from "../../utils/toastUtils"; 17 18 18 19 … … 29 30 dispatch(JobAdvertisementActions.deleteJobAdvertisement(jobAd.props.id, (success, response) => { 30 31 if (success) { 31 console.log("Job Advertisement deleted")32 // console.log("Job Advertisement deleted") 32 33 toggleModal() 34 notifyJobAdDelete() 33 35 } 34 36 }))
Note:
See TracChangeset
for help on using the changeset viewer.