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

interface SubComponents {
    Loading: typeof GeneralLoading;
}

interface Props {
    id: string;
}

const DoSaveWrapper: React.FC<Props> & SubComponents = async ({
    id
}) => {

    const [
        dos
    ] = await Promise.all([
        fetchDoList()
    ]);
    // return <DoSearch dos={dos}/>
    return <></>
}

DoSaveWrapper.Loading = GeneralLoading;

export default DoSaveWrapper;