mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-29 10:16:32 +02:00
22 lines
560 B
TypeScript
22 lines
560 B
TypeScript
import { NextPage } from "next";
|
|
|
|
import { withSessionSsr } from "@/utils/auth";
|
|
|
|
import { Profile } from "../components/profile";
|
|
import { withSession } from "../components/session";
|
|
import StandardLayout from "../components/standard-layout";
|
|
import { withPageTranslations } from "../utils/with-page-translations";
|
|
|
|
const Page: NextPage = () => {
|
|
return (
|
|
<StandardLayout>
|
|
<Profile />
|
|
</StandardLayout>
|
|
);
|
|
};
|
|
|
|
export const getServerSideProps = withSessionSsr(
|
|
withPageTranslations(["common", "app"]),
|
|
);
|
|
|
|
export default withSession(Page);
|