diff --git a/app/src/containers/StartTopicContainer.js b/app/src/containers/StartTopicContainer.js index 7e01e1d..f45b540 100644 --- a/app/src/containers/StartTopicContainer.js +++ b/app/src/containers/StartTopicContainer.js @@ -120,7 +120,7 @@ class StartTopicContainer extends Component { placeholder="Post" id="topicMessageInput" rows={5} - autoHeight + autoheight="true" onChange={this.handleInputChange} />] } diff --git a/app/src/utils/EthereumIdentityProvider.js b/app/src/utils/EthereumIdentityProvider.js index 0ba707b..5f0473e 100644 --- a/app/src/utils/EthereumIdentityProvider.js +++ b/app/src/utils/EthereumIdentityProvider.js @@ -10,7 +10,14 @@ class EthereumIdentityProvider { async getId () { return this.id; } async signIdentity (data) { - return await web3.eth.personal.sign(data, this.id,""); //Password not required for MetaMask + while(true){ //Insist (e.g. if user dismisses dialog) + try{ + return await web3.eth.personal.sign(data, this.id,""); //Password not required for MetaMask + } + catch (e) { + console.error("Failed to sign data."); + } + } } static async verifyIdentity (identity) {