mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
Add link to smtp settings (#27429)
This commit is contained in:
1 parent
f2cc8ead21
commit
d95a0fdfd4
1 file changed
+13
-2
+13
-2
@@ -1,6 +1,10 @@
|
||||
import Link from 'next/link'
|
||||
import { AlertDescription_Shadcn_, AlertTitle_Shadcn_, Alert_Shadcn_, IconAlertTriangle } from 'ui'
|
||||
import { useParams } from 'common'
|
||||
|
||||
export function EmailRateLimitsAlert() {
|
||||
const { ref: projectRef } = useParams()
|
||||
|
||||
return (
|
||||
<Alert_Shadcn_ variant="warning">
|
||||
<IconAlertTriangle strokeWidth={2} />
|
||||
@@ -15,8 +19,15 @@ export function EmailRateLimitsAlert() {
|
||||
>
|
||||
documentation
|
||||
</a>{' '}
|
||||
for an up-to-date information on the current rate limits. Please use a custom SMTP server if
|
||||
you're planning on having large number of users.
|
||||
for an up-to-date information on the current rate limits. Please use a{' '}
|
||||
<Link
|
||||
className="underline"
|
||||
target="_blank"
|
||||
href={`/project/${projectRef}/settings/auth#auth-config-smtp-form`}
|
||||
>
|
||||
custom SMTP server
|
||||
</Link>{' '}
|
||||
if you're planning on having large number of users.
|
||||
</AlertDescription_Shadcn_>
|
||||
</Alert_Shadcn_>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user