1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

fix missing insufficient funds error for token sends (#14026)

This commit is contained in:
Alex Donesky 2022-03-18 11:06:35 -05:00 committed by GitHub
parent b5088f65a9
commit 6fd037f1e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,8 +146,7 @@ export default class ConfirmPageContainerContent extends Component {
supportsEIP1559V2 &&
!hasSimulationError &&
(errorKey || errorMessage) &&
errorKey === INSUFFICIENT_FUNDS_ERROR_KEY &&
currentTransaction.type === TRANSACTION_TYPES.SIMPLE_SEND;
errorKey === INSUFFICIENT_FUNDS_ERROR_KEY;
return (
<div