diff --git a/js-old/src/ui/Certifications/certifications.js b/js-old/src/ui/Certifications/certifications.js index 26ff3006d..8a5c1f7d3 100644 --- a/js-old/src/ui/Certifications/certifications.js +++ b/js-old/src/ui/Certifications/certifications.js @@ -97,9 +97,10 @@ function mapStateToProps (_, initProps) { return (state) => { const certifications = state.certifications[address] || []; - const dappsUrl = state.api.dappsUrl; - return { certifications, dappsUrl }; + return { + certifications + }; }; } diff --git a/js-old/src/views/Accounts/List/list.js b/js-old/src/views/Accounts/List/list.js index 7ff04ab30..4de449239 100644 --- a/js-old/src/views/Accounts/List/list.js +++ b/js-old/src/views/Accounts/List/list.js @@ -27,7 +27,6 @@ import styles from './list.css'; class List extends Component { static propTypes = { balances: PropTypes.object.isRequired, - certifications: PropTypes.object.isRequired, accounts: PropTypes.object, disabled: PropTypes.object, empty: PropTypes.bool, @@ -83,6 +82,7 @@ class List extends Component { account={ account } disabled={ isDisabled } handleAddSearchToken={ handleAddSearchToken } + key={ account.address } link={ link } owners={ owners } showCertifications @@ -246,9 +246,10 @@ class List extends Component { function mapStateToProps (state, props) { const addresses = Object.keys(props.accounts); const balances = pick(state.balances, addresses); - const { certifications } = state; - return { balances, certifications }; + return { + balances + }; } export default connect(