mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 04:15:04 +03:00
inline link
This commit is contained in:
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_>
|
||||
|
||||
Reference in new issue
Block a user