import React from "react";
import CreateStaff from "./CreateStaff";
import CreateStaffLoading from "./CreateStaffLoading";
import { fetchStaff, fetchTeamLeads } from "@/app/api/staff";
import { useSearchParams } from "next/navigation";

interface SubComponents {
  Loading: typeof CreateStaffLoading;
} 

const CreateStaffWrapper: React.FC & SubComponents = async () => {


  return <CreateStaff/>;
};

CreateStaffWrapper.Loading = CreateStaffLoading;

export default CreateStaffWrapper;
