diff --git a/apps/dashboard/app/(app)/apis/_components/api-list-client.tsx b/apps/dashboard/app/(app)/apis/_components/api-list-client.tsx index 2c9812af0a..7e460b88ec 100644 --- a/apps/dashboard/app/(app)/apis/_components/api-list-client.tsx +++ b/apps/dashboard/app/(app)/apis/_components/api-list-client.tsx @@ -15,35 +15,12 @@ import { CreateApiButton } from "./create-api-button"; export const ApiListClient = ({ initialData, - unpaid, }: { initialData: ApisOverviewResponse; - unpaid: boolean; }) => { const [isSearching, setIsSearching] = useState(false); const [apiList, setApiList] = useState(initialData.apiList); - if (unpaid) { - return ( - - - Upgrade your plan - - Team workspaces is a paid feature. Please switch to a paid plan to continue using it. - - - - - - - - - ); - } - return (
diff --git a/apps/dashboard/app/(app)/apis/page.tsx b/apps/dashboard/app/(app)/apis/page.tsx index 161221a3f4..fceb8221b9 100644 --- a/apps/dashboard/app/(app)/apis/page.tsx +++ b/apps/dashboard/app/(app)/apis/page.tsx @@ -29,12 +29,11 @@ export default async function ApisOverviewPage(props: Props) { workspaceId: workspace.id, limit: DEFAULT_OVERVIEW_FETCH_LIMIT, }); - const unpaid = workspace.tenantId.startsWith("org_") && workspace.plan === "free"; return (
- +
); }