From cafbe1458918d5970a14a933778f4765a519b902 Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 8 May 2017 11:59:06 +0100 Subject: [PATCH] Fix keys for AddressSelector Was using a property which just did not exist. --- src/components/views/elements/AddressSelector.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/views/elements/AddressSelector.js b/src/components/views/elements/AddressSelector.js index 6bad15f7d0..5329994037 100644 --- a/src/components/views/elements/AddressSelector.js +++ b/src/components/views/elements/AddressSelector.js @@ -1,5 +1,6 @@ /* Copyright 2015, 2016 OpenMarket Ltd +Copyright 2017 Vector Creations Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -138,7 +139,7 @@ export default React.createClass({ onClick={this.onClick.bind(this, i)} onMouseEnter={this.onMouseEnter.bind(this, i)} onMouseLeave={this.onMouseLeave} - key={this.props.addressList[i].userId} + key={this.props.addressList[i].addressType + "/" + this.props.addressList[i].address} ref={(ref) => { this.addressListElement = ref; }} >