From 7863384974cb47ce0b71b00fdae75ac798445f73 Mon Sep 17 00:00:00 2001 From: Matthew Russell Date: Tue, 4 Oct 2022 09:09:38 -0700 Subject: [PATCH] feat: adjust wallet styles and translations (#1611) --- .../src/connect-dialog/connect-dialog.tsx | 58 ++++++++++++------- 1 file changed, 36 insertions(+), 22 deletions(-) diff --git a/libs/wallet/src/connect-dialog/connect-dialog.tsx b/libs/wallet/src/connect-dialog/connect-dialog.tsx index 4fd226443..f927cb205 100644 --- a/libs/wallet/src/connect-dialog/connect-dialog.tsx +++ b/libs/wallet/src/connect-dialog/connect-dialog.tsx @@ -54,7 +54,7 @@ export const VegaConnectDialog = ({ if (loading || !data) { return ( - {t('Fetchign chain ID')} + {t('Fetching chain ID')}
@@ -161,6 +161,40 @@ const ConnectorList = ({ <> {t('Connect')} + {urlInputExpanded ? ( + <> +

+ {t('Custom wallet location')} +

+ + setWalletUrl(e.target.value)} + name="wallet-url" + /> + +

+ {t('Choose wallet app to connect')} +

+ + ) : ( +

+ {t( + 'Choose wallet app to connect, or to change port or server URL enter a ' + )} + {' '} + {t(' first')} +

+ )}
  • {!isMainnet && ( -
  • +
  • )}
- {urlInputExpanded ? ( - - setWalletUrl(e.target.value)} - name="wallet-url" - /> - - ) : ( -

- {t('Or')}{' '} - {' '} - {t('to change port or service URL')} -

- )}