From b4f01ec03456edf64934e8d31340b4ed615ba26b Mon Sep 17 00:00:00 2001 From: joel Date: Mon, 14 Oct 2024 19:18:31 +0200 Subject: [PATCH] fix: run prettier --- .../interfaces/Auth/RateLimits/RateLimits.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/apps/studio/components/interfaces/Auth/RateLimits/RateLimits.tsx b/apps/studio/components/interfaces/Auth/RateLimits/RateLimits.tsx index e8d272d9777..aff89285d28 100644 --- a/apps/studio/components/interfaces/Auth/RateLimits/RateLimits.tsx +++ b/apps/studio/components/interfaces/Auth/RateLimits/RateLimits.tsx @@ -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 (
{ - 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

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