inline link

This commit is contained in:
Danny White committed 2026-02-18 11:21:26 +11:00
1 parent 837c3c65ad
commit da63eb702a
1 file changed
+4 -4
@@ -1,7 +1,7 @@
import { useParams } from 'common'
import { AlertCircle } from 'lucide-react'
import Link from 'next/link'
import { Alert_Shadcn_, AlertDescription_Shadcn_, AlertTitle_Shadcn_ } from 'ui'
import { InlineLink } from 'components/ui/InlineLink'
interface DataApiDisabledStateProps {
description: string
@@ -17,12 +17,12 @@ export const DataApiDisabledState = ({ description }: DataApiDisabledStateProps)
<AlertTitle_Shadcn_>Data API is disabled</AlertTitle_Shadcn_>
<AlertDescription_Shadcn_>
Enable the Data API in the{' '}
<Link
<InlineLink
href={`/project/${projectRef}/integrations/data_api/overview`}
className="text-foreground underline hover:decoration-foreground-muted"
>
Overview
</Link>{' '}
</InlineLink>{' '}
tab to {description}.
</AlertDescription_Shadcn_>
</Alert_Shadcn_>