import { useState } from "react";
import { useNavigate } from "react-router-dom";
import { mockData } from "@/data/mockData";
import JobList from "@/pages/CompanyJobsPage/components/JobList";

import "./index.css";

const CompanyJobsListPage = () => {
  const { companyJobs } = mockData;
  const navigate = useNavigate();

  return (
    <ul className="company-jobs-list-page-wrapper">
      <JobList data={companyJobs?.companyPositions} />
    </ul>
  );
};

export default CompanyJobsListPage;
