Skip to content

Commit

Permalink
fix import type checks
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjORbj committed Dec 28, 2024
1 parent 882d097 commit 43d29cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import withEmbedSsrAppDir from "app/WithEmbedSSR";
import { WithLayout } from "app/layoutHOC";
import { Page, type OrgTypePageProps } from "app/org/[orgSlug]/[user]/[type]/page";

import { getServerSideProps } from "@lib/org/[orgSlug]/[user]/[type]/getServerSideProps";

import { Page, type OrgTypePageProps } from "../page";

const getEmbedData = withEmbedSsrAppDir<OrgTypePageProps>(getServerSideProps);

export default WithLayout({ getLayout: null, getData: getEmbedData, isBookingPage: true, ServerPage: Page });
3 changes: 1 addition & 2 deletions apps/web/app/future/org/[orgSlug]/[user]/embed/page.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import withEmbedSsrAppDir from "app/WithEmbedSSR";
import { WithLayout } from "app/layoutHOC";
import { Page, type OrgPageProps } from "app/org/[orgSlug]/[user]/page";

import { getServerSideProps } from "@lib/org/[orgSlug]/[user]/getServerSideProps";

import { Page, type OrgPageProps } from "../page";

const getEmbedData = withEmbedSsrAppDir<OrgPageProps>(getServerSideProps);

export default WithLayout({ getLayout: null, getData: getEmbedData, isBookingPage: true, ServerPage: Page });

0 comments on commit 43d29cd

Please sign in to comment.