diff --git a/apps/web/components/apps/App.tsx b/apps/web/components/apps/App.tsx index 5f2306b2b3..3f866ebee5 100644 --- a/apps/web/components/apps/App.tsx +++ b/apps/web/components/apps/App.tsx @@ -35,7 +35,6 @@ const Component = ({ email, tos, privacy, - isProOnly, teamsPlanRequired, descriptionItems, isTemplate, @@ -151,7 +150,6 @@ const Component = ({ {!isGlobal && ( { @@ -192,7 +190,6 @@ const Component = ({ ) : ( { @@ -362,7 +359,6 @@ export default function App(props: { tos?: string; privacy?: string; licenseRequired: AppType["licenseRequired"]; - isProOnly: AppType["isProOnly"]; teamsPlanRequired: AppType["teamsPlanRequired"]; descriptionItems?: Array }>; isTemplate?: boolean; diff --git a/apps/web/pages/apps/[slug]/index.tsx b/apps/web/pages/apps/[slug]/index.tsx index 841331f5d9..97a36bf74c 100644 --- a/apps/web/pages/apps/[slug]/index.tsx +++ b/apps/web/pages/apps/[slug]/index.tsx @@ -73,7 +73,6 @@ function SingleAppPage(props: inferSSRProps) { email={data.email} licenseRequired={data.licenseRequired} teamsPlanRequired={data.teamsPlanRequired} - isProOnly={data.isProOnly} descriptionItems={source.data?.items as string[] | undefined} isTemplate={data.isTemplate} dependencies={data.dependencies} diff --git a/packages/app-store/_components/OmniInstallAppButton.tsx b/packages/app-store/_components/OmniInstallAppButton.tsx index e181d4f362..311976e30f 100644 --- a/packages/app-store/_components/OmniInstallAppButton.tsx +++ b/packages/app-store/_components/OmniInstallAppButton.tsx @@ -46,7 +46,6 @@ export default function OmniInstallAppButton({ return ( { diff --git a/packages/app-store/components.tsx b/packages/app-store/components.tsx index 673fdcea98..f0ccf42598 100644 --- a/packages/app-store/components.tsx +++ b/packages/app-store/components.tsx @@ -49,7 +49,6 @@ export const InstallAppButtonWithoutPlanCheck = ( export const InstallAppButton = ( props: { - isProOnly?: App["isProOnly"]; teamsPlanRequired?: App["teamsPlanRequired"]; type: App["type"]; wrapperClassName?: string; @@ -86,7 +85,7 @@ export const InstallAppButton = ( }, true ); - }, [isUserLoading, user, router, props.isProOnly, hasTeamPlan, props.teamsPlanRequired]); + }, [isUserLoading, user, router, hasTeamPlan, props.teamsPlanRequired]); if (isUserLoading || isTeamPlanStatusLoading) { return null; diff --git a/packages/types/App.d.ts b/packages/types/App.d.ts index 49e62fa4b0..56381f7386 100644 --- a/packages/types/App.d.ts +++ b/packages/types/App.d.ts @@ -129,7 +129,6 @@ export interface App { teamsPlanRequired?: { upgradeUrl: string; }; - isProOnly?: boolean; appData?: AppData; /** * @deprecated diff --git a/packages/ui/components/apps/AppCard.tsx b/packages/ui/components/apps/AppCard.tsx index d23a4722f9..302909b1a1 100644 --- a/packages/ui/components/apps/AppCard.tsx +++ b/packages/ui/components/apps/AppCard.tsx @@ -96,7 +96,6 @@ export function AppCard({ app, credentials, searchText }: AppCardProps) { ? !app.isGlobal && ( !data.installed)} wrapperClassName="[@media(max-width:260px)]:w-full" @@ -125,7 +124,6 @@ export function AppCard({ app, credentials, searchText }: AppCardProps) { credentials.length === 0 && ( !data.installed)} teamsPlanRequired={app.teamsPlanRequired}