You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- 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;
|