Skip to content

Scheduling infrastructure for absolutely everyone.

chore: [app-router-migration 37] migrate connect and join page (#13205)

Benny Joob09f3e5c8d3d
diff --git a/apps/web/app/future/connect-and-join/page.tsx b/apps/web/app/future/connect-and-join/page.tsx
new file mode 100644
index 00000000000..0dea6c11c86
--- /dev/null
+++ b/apps/web/app/future/connect-and-join/page.tsx
@@ -0,0 +1,4 @@
+import LegacyPage from "@pages/connect-and-join";
+import { WithLayout } from "app/layoutHOC";
+
+export default WithLayout({ getLayout: null, Page: LegacyPage })<"P">;
diff --git a/apps/web/pages/connect-and-join.tsx b/apps/web/pages/connect-and-join.tsx
index 8d85bb62fe9..dae0e11aba7 100644
--- a/apps/web/pages/connect-and-join.tsx
+++ b/apps/web/pages/connect-and-join.tsx
@@ -1,3 +1,5 @@
+"use client";
+
import { useSession } from "next-auth/react";
import { Trans } from "next-i18next";
import Link from "next/link";