mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Chain ID field use the same color pattern as the currency symbol field warning message below (#14644)
This commit is contained in:
parent
5444474d82
commit
a5e07b0f18
@ -436,12 +436,12 @@ const NetworksForm = ({
|
||||
const rpcUrlError = validateRPCUrl(rpcUrl);
|
||||
setErrors({
|
||||
...errors,
|
||||
chainId: chainIdError,
|
||||
blockExplorerUrl: blockExplorerError,
|
||||
rpcUrl: rpcUrlError,
|
||||
});
|
||||
setWarnings({
|
||||
...warnings,
|
||||
chainId: chainIdError,
|
||||
ticker: tickerWarning,
|
||||
});
|
||||
}
|
||||
@ -577,7 +577,7 @@ const NetworksForm = ({
|
||||
disabled={viewOnly}
|
||||
/>
|
||||
<FormField
|
||||
error={errors.chainId?.msg || ''}
|
||||
warning={warnings.chainId?.msg || ''}
|
||||
onChange={setChainId}
|
||||
titleText={t('chainId')}
|
||||
value={chainId}
|
||||
|
Loading…
Reference in New Issue
Block a user