13 lines
520 B
TypeScript
13 lines
520 B
TypeScript
import { withAppDirSsr } from "app/WithAppDirSsr";
|
|
import withEmbedSsrAppDir from "app/WithEmbedSSR";
|
|
import { WithLayout } from "app/layoutHOC";
|
|
|
|
import OldPage from "~/bookings/views/bookings-single-view";
|
|
import { getServerSideProps, type PageProps } from "~/bookings/views/bookings-single-view.getServerSideProps";
|
|
|
|
const getData = withAppDirSsr<PageProps>(getServerSideProps);
|
|
|
|
const getEmbedData = withEmbedSsrAppDir(getData);
|
|
|
|
export default WithLayout({ getLayout: null, getData: getEmbedData, Page: OldPage });
|