1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix PropType of network prop of TokenMenuDropdown. (#8582)

The `network` prop of the `TokenMenuDropdown` component was mistakenly
set to "number" in #7779.
This commit is contained in:
Mark Stacey 2020-05-13 09:26:57 -03:00 committed by GitHub
parent cfea55c2d7
commit fab049b1b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ class TokenMenuDropdown extends Component {
onClose: PropTypes.func.isRequired,
showHideTokenConfirmationModal: PropTypes.func.isRequired,
token: PropTypes.object.isRequired,
network: PropTypes.number.isRequired,
network: PropTypes.string.isRequired,
}
onClose = (e) => {