FPSMS-frontend
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

1234567891011121314151617181920212223
  1. import { fetchAllItems, } from "@/app/api/settings/item";
  2. import {RoughScheduleLoading} from "./RoughScheduleLoading";
  3. import RSSOverview from "@/components/RoughScheduleSetting/RoughScheduleSetting";
  4. interface SubComponents {
  5. Loading: typeof RoughScheduleLoading;
  6. }
  7. type Props = {
  8. // type: TypeEnum;
  9. };
  10. const RoughScheduleSettingWrapper: ({}: {}) => Promise<JSX.Element> = async ({
  11. // type,
  12. }) => {
  13. // console.log(type)
  14. var result = await fetchAllItems()
  15. return <RSSOverview items={result} />;
  16. };
  17. RoughScheduleSettingWrapper.Loading = RoughScheduleLoading;
  18. export default RoughScheduleSettingWrapper;