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);
|
const rpcUrlError = validateRPCUrl(rpcUrl);
|
||||||
setErrors({
|
setErrors({
|
||||||
...errors,
|
...errors,
|
||||||
chainId: chainIdError,
|
|
||||||
blockExplorerUrl: blockExplorerError,
|
blockExplorerUrl: blockExplorerError,
|
||||||
rpcUrl: rpcUrlError,
|
rpcUrl: rpcUrlError,
|
||||||
});
|
});
|
||||||
setWarnings({
|
setWarnings({
|
||||||
...warnings,
|
...warnings,
|
||||||
|
chainId: chainIdError,
|
||||||
ticker: tickerWarning,
|
ticker: tickerWarning,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -577,7 +577,7 @@ const NetworksForm = ({
|
|||||||
disabled={viewOnly}
|
disabled={viewOnly}
|
||||||
/>
|
/>
|
||||||
<FormField
|
<FormField
|
||||||
error={errors.chainId?.msg || ''}
|
warning={warnings.chainId?.msg || ''}
|
||||||
onChange={setChainId}
|
onChange={setChainId}
|
||||||
titleText={t('chainId')}
|
titleText={t('chainId')}
|
||||||
value={chainId}
|
value={chainId}
|
||||||
|
Loading…
Reference in New Issue
Block a user