chore: rename wallet label to match app, add more user friendly fetch failed message (#1650)
This commit is contained in:
parent
ae10cdfb2c
commit
e588418972
@ -55,7 +55,7 @@ export function RestConnectorForm({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<form onSubmit={handleSubmit(onSubmit)} data-testid="rest-connector-form">
|
<form onSubmit={handleSubmit(onSubmit)} data-testid="rest-connector-form">
|
||||||
<FormGroup label={t('Wallet')} labelFor="wallet">
|
<FormGroup label={t('Wallet name')} labelFor="wallet">
|
||||||
<Input
|
<Input
|
||||||
{...register('wallet', { required: t('Required') })}
|
{...register('wallet', { required: t('Required') })}
|
||||||
id="wallet"
|
id="wallet"
|
||||||
|
@ -283,7 +283,7 @@ export class RestConnector implements VegaConnector {
|
|||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
return {
|
return {
|
||||||
error: 'Failed to fetch',
|
error: 'No wallet detected',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user