mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fixed these issues in v10.11.0 (#13806)
After landing on Swap, a disclaimer of Smart Transactions appear, and an error on devTools shows the following: “invalid prop ‘type’ of value ‘ul’” supplied to ‘Typography’ After enabling Smart Transactions, an error on devTools shows the following: “invalid prop ‘smartTransactionsOptInSatus’ of type ‘boolean supplied to ‘SlippageButtons’ Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
This commit is contained in:
parent
137b47370e
commit
6d54897cfb
@ -86,5 +86,6 @@ Typography.propTypes = {
|
||||
'div',
|
||||
'dt',
|
||||
'dd',
|
||||
'ul',
|
||||
]),
|
||||
};
|
||||
|
@ -238,7 +238,7 @@ SlippageButtons.propTypes = {
|
||||
maxAllowedSlippage: PropTypes.number.isRequired,
|
||||
currentSlippage: PropTypes.number,
|
||||
smartTransactionsEnabled: PropTypes.bool.isRequired,
|
||||
smartTransactionsOptInStatus: PropTypes.object,
|
||||
smartTransactionsOptInStatus: PropTypes.bool,
|
||||
setSmartTransactionsOptInStatus: PropTypes.func,
|
||||
currentSmartTransactionsError: PropTypes.string,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user