Skip to content

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

535 B
Raw Blame
import { Alert, AlertDescription, AlertTitle, WarningIcon } from 'ui'

export const DataApiDisabledAlert = () => {
  return (
    <Alert variant="warning">
      <WarningIcon />
      <AlertTitle>No schemas can be queried</AlertTitle>
      <AlertDescription>
        <p>
          With this setting disabled, you will not be able to query any schemas via the Data API.
        </p>
        <p>
          You will see errors from the Postgrest endpoint <code>/rest/v1/</code>.
        </p>
      </AlertDescription>
    </Alert>
  )
}