Skip to content

Commit deee8d6

Browse files
authored
Chore/fix auth link 2 (supabase#30655)
Use a paragraph
1 parent 2d8722e commit deee8d6

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

apps/studio/components/interfaces/Auth/SmtpForm/SmtpForm.tsx

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import { urlRegex } from './../Auth.constants'
2929
import { defaultDisabledSmtpFormValues } from './SmtpForm.constants'
3030
import { generateFormValues, isSmtpEnabled } from './SmtpForm.utils'
3131
import { AlertTriangle, Eye, EyeOff } from 'lucide-react'
32+
import Link from 'next/link'
3233

3334
const SmtpForm = () => {
3435
const { ref: projectRef } = useParams()
@@ -218,10 +219,17 @@ const SmtpForm = () => {
218219
// @ts-ignore
219220
onChange={(value: boolean) => setEnableSmtp(value)}
220221
descriptionText={
221-
<Markdown
222-
className="max-w-full [&>p]:text-foreground-lighter"
223-
content={`Emails will be sent using your custom SMTP provider. Email rate limits can be adjusted [here](/project/${projectRef}/auth/rate-limits).`}
224-
/>
222+
<p className="max-w-full prose text-sm text-foreground-lighter">
223+
Emails will be sent using your custom SMTP provider. Email rate limits can
224+
be adjusted{' '}
225+
<Link
226+
className="underline"
227+
href={`/project/${projectRef}/auth/rate-limits`}
228+
>
229+
here
230+
</Link>
231+
.
232+
</p>
225233
}
226234
/>
227235
{enableSmtp ? (

0 commit comments

Comments
 (0)