chore: deprecate requiresLicense = true (#19374)

This commit is contained in:
Benny Joo
2025-02-19 13:33:03 +01:00
committed by GitHub
parent 984ccf7c80
commit dfb2232a59
2 changed files with 10 additions and 3 deletions
@@ -1,5 +1,7 @@
import { _generateMetadata } from "app/_utils";
import LicenseRequired from "@calcom/features/ee/common/components/LicenseRequired";
import LegacyPage from "~/connect-and-join/connect-and-join-view";
export const generateMetadata = async () => {
@@ -9,4 +11,11 @@ export const generateMetadata = async () => {
);
};
export default LegacyPage;
const ServerPage = async () => {
return (
<LicenseRequired>
<LegacyPage />
</LicenseRequired>
);
};
export default ServerPage;
@@ -85,6 +85,4 @@ function ConnectAndJoin() {
);
}
ConnectAndJoin.requiresLicense = true;
export default ConnectAndJoin;