Skip to content

Scheduling infrastructure for absolutely everyone.

Added serverside translations to teams page. (#7999)

Jeroen Reumkensec8e08d442ac
diff --git a/apps/web/pages/teams/index.tsx b/apps/web/pages/teams/index.tsx
index 64555d3f33a..3c5697d2964 100644
--- a/apps/web/pages/teams/index.tsx
+++ b/apps/web/pages/teams/index.tsx
@@ -1,3 +1,5 @@
+import { serverSideTranslations } from "next-i18next/serverSideTranslations";
+
import { TeamsListing } from "@calcom/features/ee/teams/components";
import Shell from "@calcom/features/shell/Shell";
import { WEBAPP_URL } from "@calcom/lib/constants";
@@ -25,6 +27,14 @@ function Teams() {
);
}
+export const getStaticProps = async () => {
+ return {
+ props: {
+ ...(await serverSideTranslations("en", ["common"])),
+ },
+ };
+};
+
Teams.requiresLicense = false;
export default Teams;