fix: run prettier

This commit is contained in:
joel committed 2024-10-14 19:18:31 +02:00
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`}>