chore: [app-router-migration 31] migrate the "/auth/setup" page (#13196)

* wip

* chore: setup page migration

* fix: conventions

* fix: convention

* use client

* fix: rebase on 13.5

---------

Co-authored-by: Dmytro Hryshyn <[email protected]>
This commit is contained in:
SashaandDmytro Hryshyn authored and GitHub committed 2024-01-23 18:05:47 -03:00
1 parent 4417d649ea
commit 12eec186b2
3 files changed
+72 -53

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import Setup from "@pages/auth/setup";
import { withAppDirSsr } from "app/WithAppDirSsr";
import { WithLayout } from "app/layoutHOC";
import type { InferGetServerSidePropsType } from "next";
import { getServerSideProps } from "@server/lib/setup/getServerSideProps";
export default WithLayout({
getLayout: null,
Page: Setup,
getData: withAppDirSsr<InferGetServerSidePropsType<typeof getServerSideProps>>(getServerSideProps),
})<"P">;