import React from "react";
import GeneralLoading from "../General/GeneralLoading";
import { fetchDoList } from "@/app/api/do";
import DoSearch from "./DoSearch";

interface SubComponents {
  Loading: typeof GeneralLoading;
}

const DoSearchWrapper: React.FC & SubComponents = async () => {
 // const [dos] = await Promise.all([fetchDoList()]);
  return <DoSearch />;
};

DoSearchWrapper.Loading = GeneralLoading;

export default DoSearchWrapper;
