Skip to content

Scheduling infrastructure for absolutely everyone.

add missing getServerSideProps to /event-types (#15731)

Somay Chauhan6d2ec71df34b
diff --git a/apps/web/app/future/event-types/page.tsx b/apps/web/app/future/event-types/page.tsx
index b277302dbae..2dc466826cc 100644
--- a/apps/web/app/future/event-types/page.tsx
+++ b/apps/web/app/future/event-types/page.tsx
@@ -1,6 +1,9 @@
+import { withAppDirSsr } from "app/WithAppDirSsr";
import { _generateMetadata } from "app/_utils";
import { WithLayout } from "app/layoutHOC";
+import { getServerSideProps } from "@lib/event-types/getServerSideProps";
+
import EventTypes from "~/event-types/views/event-types-listing-view";
export const generateMetadata = async () =>
@@ -9,4 +12,6 @@ export const generateMetadata = async () =>
(t) => t("event_types_page_subtitle")
);
-export default WithLayout({ getLayout: null, Page: EventTypes })<"P">;
+const getData = withAppDirSsr(getServerSideProps);
+
+export default WithLayout({ getLayout: null, getData, Page: EventTypes })<"P">;