diff --git a/apps/studio/components/interfaces/Auth/RateLimits/RateLimits.tsx b/apps/studio/components/interfaces/Auth/RateLimits/RateLimits.tsx index 98198361ebd..fdaae95e433 100644 --- a/apps/studio/components/interfaces/Auth/RateLimits/RateLimits.tsx +++ b/apps/studio/components/interfaces/Auth/RateLimits/RateLimits.tsx @@ -129,7 +129,6 @@ const RateLimits = () => { const hasAuthEmailHookEnabled = authConfig?.HOOK_SEND_EMAIL_ENABLED - return (
{ handleReset={() => form.reset()} disabled={!canUpdateConfig} helper={ - !canUpdateConfig - ? 'You need additional permissions to update authentication settings' - : undefined + !canUpdateConfig + ? 'You need additional permissions to update authentication settings' + : undefined } />
@@ -444,7 +443,7 @@ const RateLimits = () => { )} - ) + ) } export default RateLimits