2022-09-10 14:52:06 -07:00
|
|
|
import React from 'react';
|
|
|
|
|
2022-11-16 05:32:32 -08:00
|
|
|
import BundleContainer from 'soapbox/features/ui/containers/bundle-container';
|
2022-09-10 14:52:06 -07:00
|
|
|
import { ScheduleForm } from 'soapbox/features/ui/util/async-components';
|
|
|
|
|
2022-11-15 09:23:36 -08:00
|
|
|
import type { IScheduleForm } from '../components/schedule-form';
|
2022-09-10 14:52:06 -07:00
|
|
|
|
|
|
|
const ScheduleFormContainer: React.FC<IScheduleForm> = (props) => (
|
|
|
|
<BundleContainer fetchComponent={ScheduleForm}>
|
|
|
|
{Component => <Component {...props} />}
|
|
|
|
</BundleContainer>
|
|
|
|
);
|
|
|
|
|
|
|
|
export default ScheduleFormContainer;
|