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 GeneralLoading from "../General/GeneralLoading";
- import SearchPage from "./SearchPage";
- import { fetchList } from "@/app/api/stockIssue/actions";
-
- interface SubComponents {
- Loading: typeof GeneralLoading;
- }
-
- const Wrapper: React.FC & SubComponents = async () => {
- const dataList = await fetchList();
-
- return <SearchPage dataList={dataList} />;
- };
-
- Wrapper.Loading = GeneralLoading;
-
- export default Wrapper;
|