Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

478 B
Raw Blame
import type { PropsWithChildren } from 'react'

import { IntegrationOverviewTab } from './IntegrationOverviewTab'
import { useIsMarketplaceEnabled } from '@/components/interfaces/App/FeaturePreview/FeaturePreviewContext'

export const MarketplaceIntegrationOverviewTab = (props: PropsWithChildren) => {
  const isMarketplaceEnabled = useIsMarketplaceEnabled()

  if (isMarketplaceEnabled) return null
  return <IntegrationOverviewTab>{props.children}</IntegrationOverviewTab>
}