From 44751babbef7d94ede287b21fbf04d51cdc0f140 Mon Sep 17 00:00:00 2001 From: nick_lloyd Date: Mon, 17 Jun 2024 08:56:35 +0200 Subject: [PATCH] remove i18n on authorize button --- src/components/AuthorizeButton.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/AuthorizeButton.tsx b/src/components/AuthorizeButton.tsx index 9e2a52e..a6d280d 100644 --- a/src/components/AuthorizeButton.tsx +++ b/src/components/AuthorizeButton.tsx @@ -129,14 +129,9 @@ const AuthorizeButton = ({ connection, onConnectionChange }: Props) => { ); } - const buttonText = - typeof connection?.service_id === 'string' && - connection?.service_id.length > 15 - ? t('Authorize') - : `${t('Authorize')} ${connection.name}`; return (