Added serverside translations to teams page. (#7999)

Co-authored-by: Alex van Andel <me@alexvanandel.com>
This commit is contained in:
Jeroen Reumkens
2023-04-11 21:39:02 +05:30
committed by GitHub
co-authored by Alex van Andel
parent c33f424333
commit ec8e08d442
+10
View File
@@ -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;