remove duplicate value fail, this.state.value does not exist.

This commit is contained in:
Michael Telatynski 2017-08-22 10:22:00 +01:00
parent f7fe63d980
commit 2747f74b79
No known key found for this signature in database
GPG Key ID: 3F879DA5AD802A5E

View File

@ -362,7 +362,7 @@ export default React.createClass({
prompt = [
<div key="inputBox" className="mxt_HomePage_inputBox">
<form onSubmit={ this.onSubmit }>
<input autoFocus className="mxt_HomePage_inputBox_prompt" value={ this.state.entity } ref="prompt" size="36" type="text" value={ this.state.value } placeholder="#room:domain.com or @user:domain.com" />
<input autoFocus className="mxt_HomePage_inputBox_prompt" value={ this.state.entity } ref="prompt" size="36" type="text" placeholder="#room:domain.com or @user:domain.com" />
<input className="mxt_HomePage_inputBox_button" type="submit" value="Get link!" />
</form>
{ error }