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

interface SubComponents {
  Loading: typeof CreateSkillLoading;
} 

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


  return <CreateSkill/>;
};

CreateSkillWrapper.Loading = CreateSkillLoading;

export default CreateSkillWrapper;
