mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 15:19:08 +03:00
fix: run prettier
This commit is contained in:
1 parent
7515af1a05
commit
b4f01ec034
1 file changed
+6
-4
@@ -53,7 +53,8 @@ const RateLimits = () => {
|
||||
})
|
||||
|
||||
const hasAuthEmailHookEnabled = authConfig?.HOOK_SEND_EMAIL_ENABLED
|
||||
const canUpdateEmailLimit = authConfig?.EXTERNAL_EMAIL_ENABLED && (isSmtpEnabled(authConfig) || hasAuthEmailHookEnabled)
|
||||
const canUpdateEmailLimit =
|
||||
authConfig?.EXTERNAL_EMAIL_ENABLED && (isSmtpEnabled(authConfig) || hasAuthEmailHookEnabled)
|
||||
const canUpdateSMSRateLimit = authConfig?.EXTERNAL_PHONE_ENABLED && !authConfig?.SMS_AUTOCONFIRM
|
||||
const canUpdateAnonymousUsersRateLimit = authConfig?.EXTERNAL_ANONYMOUS_USERS_ENABLED
|
||||
|
||||
@@ -128,7 +129,6 @@ const RateLimits = () => {
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [isSuccess])
|
||||
|
||||
|
||||
return (
|
||||
<div>
|
||||
<FormHeader
|
||||
@@ -210,12 +210,14 @@ const RateLimits = () => {
|
||||
<Alert_Shadcn_>
|
||||
<WarningIcon />
|
||||
<AlertTitle_Shadcn_>
|
||||
Custom SMTP provider or Send Email Hook is required to update this configuration
|
||||
Custom SMTP provider or Send Email Hook is required to update this
|
||||
configuration
|
||||
</AlertTitle_Shadcn_>
|
||||
<AlertDescription_Shadcn_ className="flex flex-col gap-y-3">
|
||||
<p className="!leading-tight">
|
||||
The built-in email service has a fixed rate limit. You will need to
|
||||
set up your own custom SMTP provider or a Send Email Hook to update your email rate limit
|
||||
set up your own custom SMTP provider or a Send Email Hook to update
|
||||
your email rate limit
|
||||
</p>
|
||||
<Button asChild type="default" className="w-min">
|
||||
<Link href={`/project/${projectRef}/settings/auth`}>
|
||||
|
||||
Reference in new issue
Block a user