import React from "react";
import ManageEmployee from "../../components/Employee/ManageEmployee";
import Breadcrumb from "../../components/common/Breadcrumb";
import { getCachedData } from "../../slices/apiDataManager";

const ManageEmp = () => {
 
  const onEmployeeSubmt = () => {
    console.log("employee submit clicked");
  };
  return (
    <div className="container-xxl flex-grow-1 container-p-y">
      <Breadcrumb
        data={[
          { label: "Home", link: "/dashboard" },
          { label: "Employees", link: "/employees" },
          { label: "Manage", link: null },
        ]}
      ></Breadcrumb>

      <div>
        <ManageEmployee
          employee={null}
          onSubmit={onEmployeeSubmt}
        ></ManageEmployee>
      </div>
    </div>
  );
};

export default ManageEmp;
