From fab049b1b081ca4b5fdaf2dbb50e8457ccf45af9 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Wed, 13 May 2020 09:26:57 -0300 Subject: [PATCH] Fix PropType of `network` prop of `TokenMenuDropdown`. (#8582) The `network` prop of the `TokenMenuDropdown` component was mistakenly set to "number" in #7779. --- ui/app/components/app/dropdowns/token-menu-dropdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/components/app/dropdowns/token-menu-dropdown.js b/ui/app/components/app/dropdowns/token-menu-dropdown.js index 08da49f82..a3529aa1a 100644 --- a/ui/app/components/app/dropdowns/token-menu-dropdown.js +++ b/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) => {