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 18:09:02 +02:00 committed by GitHub
parent c33f424333
commit ec8e08d442
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;