diff --git a/i18n/en/code.json b/i18n/en/code.json index 924533d2..f57ee69d 100644 --- a/i18n/en/code.json +++ b/i18n/en/code.json @@ -1119,6 +1119,9 @@ "The server is currently unable to handle the request due to a temporary overload or maintenance of the server. Please try again later.": { "message": "The server is currently unable to handle the request due to a temporary overload or maintenance of the server. Please try again later." }, + "and General Business Partners": { + "message": "and General Business Partners" + }, "Copied": { "message": "Copied" } diff --git a/i18n/fr/code.json b/i18n/fr/code.json index 80308d40..c5fc3bd9 100644 --- a/i18n/fr/code.json +++ b/i18n/fr/code.json @@ -403,10 +403,10 @@ "message": "Vous avez créé le nombre maximum de jetons." }, "By registering your application, you acknowledge that you‘ve read and accepted the Deriv API": { - "message": "En enregistrant votre demande, vous reconnaissez avoir lu et accepté" + "message": "En enregistrant votre demande, vous reconnaissez avoir lu et accepté l'API Deriv" }, "terms and conditions": { - "message": "les conditions générales de l'API de Deriv" + "message": "termes et conditions" }, "Enter your app's name": { "message": "Entrez le nom de votre application" @@ -1119,6 +1119,9 @@ "The server is currently unable to handle the request due to a temporary overload or maintenance of the server. Please try again later.": { "message": "Le serveur est actuellement incapable de traiter la requête en raison d'une surcharge temporaire ou d'une maintenance du serveur. Veuillez réessayer plus tard." }, + "and General Business Partners": { + "message": "et partenaires commerciaux généraux" + }, "Copied": { "message": "Copié" } diff --git a/src/features/dashboard/components/app-register/app-register.tsx b/src/features/dashboard/components/app-register/app-register.tsx index f08c8f20..8f695bda 100644 --- a/src/features/dashboard/components/app-register/app-register.tsx +++ b/src/features/dashboard/components/app-register/app-register.tsx @@ -26,7 +26,9 @@ const TermsAndConditions: React.FC = ({ register }) => @@ -73,12 +85,8 @@ const AppRegister: React.FC = () => { const has_error = Object.entries(errors).length !== 0; const { deviceType } = useDeviceType(); const is_desktop = deviceType === 'desktop'; - const { - setAppRegisterModalOpen, - updateCurrentTab, - getApps, - handleCurrentUpdatingItem, - } = useAppManager(); + const { setAppRegisterModalOpen, updateCurrentTab, getApps, handleCurrentUpdatingItem } = + useAppManager(); const { send: registerApp, data, error, clear, is_loading } = useWS('app_register'); const [created_app_data, setCreatedAppData] = useState({}); @@ -118,7 +126,7 @@ const AppRegister: React.FC = () => { if (error) { clear(); } - } + }; return ( <> @@ -149,10 +157,7 @@ const AppRegister: React.FC = () => { - + ); };