chore: rename wallet label to match app, add more user friendly fetch failed message (#1650)

This commit is contained in:
Matthew Russell 2022-10-05 16:58:16 -07:00 committed by GitHub
parent ae10cdfb2c
commit e588418972
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ export function RestConnectorForm({
return (
<form onSubmit={handleSubmit(onSubmit)} data-testid="rest-connector-form">
<FormGroup label={t('Wallet')} labelFor="wallet">
<FormGroup label={t('Wallet name')} labelFor="wallet">
<Input
{...register('wallet', { required: t('Required') })}
id="wallet"

View File

@ -283,7 +283,7 @@ export class RestConnector implements VegaConnector {
}
} catch (err) {
return {
error: 'Failed to fetch',
error: 'No wallet detected',
};
}
}