* Enforces explicit type imports * Upgrades typescript-eslint * Upgrades eslint related dependencies * Update config * Sync packages mismatches * Syncs prettier version * Linting * Relocks node version * Fixes * Locks @vitejs/plugin-react to 1.3.2 * Linting
16 lines
364 B
TypeScript
16 lines
364 B
TypeScript
import type { GetServerSidePropsContext } from "next";
|
|
|
|
import { ssrInit } from "@server/lib/ssr";
|
|
|
|
export { default } from "@calcom/features/ee/workflows/pages/index";
|
|
|
|
export const getServerSideProps = async (context: GetServerSidePropsContext) => {
|
|
const ssr = await ssrInit(context);
|
|
|
|
return {
|
|
props: {
|
|
trpcState: ssr.dehydrate(),
|
|
},
|
|
};
|
|
};
|