Skip to content

Commit

Permalink
chore: deprecate requiresLicense = true (calcom#19374)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjORbj authored and MuhammadAimanSulaiman committed Feb 25, 2025
1 parent 8b679ae commit c74284f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 10 additions & 1 deletion apps/web/app/(use-page-wrapper)/connect-and-join/page.tsx
Original file line number Diff line number Diff line change
@@ -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 () => {
Expand All @@ -9,4 +11,11 @@ export const generateMetadata = async () => {
);
};

export default LegacyPage;
const ServerPage = async () => {
return (
<LicenseRequired>
<LegacyPage />
</LicenseRequired>
);
};
export default ServerPage;
2 changes: 0 additions & 2 deletions apps/web/modules/connect-and-join/connect-and-join-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,4 @@ function ConnectAndJoin() {
);
}

ConnectAndJoin.requiresLicense = true;

export default ConnectAndJoin;

0 comments on commit c74284f

Please sign in to comment.