rallly/apps/web/src/pages/profile.tsx
2023-04-03 10:41:19 +01:00

19 lines
546 B
TypeScript

import { withAuth, withSessionSsr } from "@rallly/backend/next";
import { getStandardLayout } from "../components/layouts/standard-layout";
import { Profile } from "../components/profile";
import { NextPageWithLayout } from "../types";
import { withPageTranslations } from "../utils/with-page-translations";
const Page: NextPageWithLayout = () => {
return <Profile />;
};
Page.getLayout = getStandardLayout;
export const getServerSideProps = withSessionSsr([
withAuth,
withPageTranslations(["common", "app"]),
]);
export default Page;