Skip to content

Commit

Permalink
#39 Update Home Route and db changes
Browse files Browse the repository at this point in the history
  • Loading branch information
navkamboj committed Jul 31, 2023
1 parent a9e7e02 commit d82441d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,9 @@ const EmployerJobOffers = () => {

const handleDelete = (id: string | number): void => {
deleteJobOffer(id)
.then((res) => {alert("Job Offer has been Deleted"); navigate("/employer/jobOffers")})
.then((res) => {alert("Job Offer has been Deleted"); window.location.reload()})
.catch(err => console.log(err));

}

const handleNavigateToApplicants = (id: string | number): void => {
Expand Down

0 comments on commit d82441d

Please sign in to comment.