unused snippet of code cleaned up

This commit was merged in pull request #69.
This commit is contained in:
victorAnumudu
2023-05-16 15:06:05 +01:00
parent d9f1771045
commit 21e4221301
3 changed files with 1 additions and 19 deletions
@@ -1,6 +1,6 @@
import React, { useState } from "react";
import dataImage2 from "../../assets/images/data-table-user-2.png";
// import ActiveJobsPopout from "./ActiveJobs";
import { useNavigate } from "react-router-dom";
import { handlePagingFunc } from "../Pagination/HandlePagination";
@@ -12,8 +12,6 @@ export default function MyActiveJobTable({ MyJobList, className }) {
const filterCategories = ["All Categories", "Explore", "Featured"];
const [selectedCategory, setCategory] = useState(filterCategories[0]);
// let [jobPopout, setJobPopout] = useState({ show: false, data: {} }); // STATE TO HOLD THE VALUE OF THE ALERT DETAILS AND DETERMINE WHEN TO SHOW
const [currentPage, setCurrentPage] = useState(0);
const indexOfFirstItem = Number(currentPage);
const indexOfLastItem =
@@ -131,18 +129,6 @@ export default function MyActiveJobTable({ MyJobList, className }) {
{/* END OF PAGINATION BUTTON */}
</div>
)}
{/* Active Job Popout */}
{/* {jobPopout.show && (
<ActiveJobsPopout
details={jobPopout.data}
onClose={() => {
setJobPopout({ show: false, data: {} });
}}
situation={jobPopout.show}
/>
)} */}
{/* End of Active Job Popout */}
</div>
);
}