Scheduling infrastructure for absolutely everyone.
fix: add translation in getServerSideProps (#4390)
Nafees Nazikcefb46dbddf0
diff --git a/apps/web/pages/getting-started/[[...step]].tsx b/apps/web/pages/getting-started/[[...step]].tsxindex 08bd211b0de..1c8a791a438 100644--- a/apps/web/pages/getting-started/[[...step]].tsx+++ b/apps/web/pages/getting-started/[[...step]].tsx@@ -1,4 +1,5 @@import { GetServerSidePropsContext } from "next";+import { serverSideTranslations } from "next-i18next/serverSideTranslations";import Head from "next/head";import { useRouter } from "next/router";import { z } from "zod";@@ -180,6 +181,7 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) =>return {props: {+ ...(await serverSideTranslations(context.locale ?? "", ["common"])),user: {...user,emailMd5: crypto.createHash("md5").update(user.email).digest("hex"),