mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix token cell props (#8142)
The `hideSidebar` proptype of `TokenCell` was set as an optional bool, when it should have been a required function.
This commit is contained in:
parent
887bc078d7
commit
ae1ed7079f
@ -20,7 +20,7 @@ export default class TokenCell extends Component {
|
|||||||
selectedTokenAddress: PropTypes.string,
|
selectedTokenAddress: PropTypes.string,
|
||||||
contractExchangeRates: PropTypes.object,
|
contractExchangeRates: PropTypes.object,
|
||||||
conversionRate: PropTypes.number,
|
conversionRate: PropTypes.number,
|
||||||
hideSidebar: PropTypes.bool,
|
hideSidebar: PropTypes.func.isRequired,
|
||||||
sidebarOpen: PropTypes.bool,
|
sidebarOpen: PropTypes.bool,
|
||||||
currentCurrency: PropTypes.string,
|
currentCurrency: PropTypes.string,
|
||||||
image: PropTypes.string,
|
image: PropTypes.string,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user