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

The `network` prop of the `TokenMenuDropdown` component was mistakenly
set to "number" in #7779.
feature/default_network_editable
Mark Stacey 5 years ago committed by GitHub
parent cfea55c2d7
commit fab049b1b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui/app/components/app/dropdowns/token-menu-dropdown.js

@ -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) => {

Loading…
Cancel
Save