format fix

This commit is contained in:
Dessalines 2019-04-30 07:55:19 -07:00
parent 5efce2f98b
commit b04d4f03c5

View file

@ -86,8 +86,7 @@ export class PostForm extends Component<PostFormProps, PostFormState> {
<div class="col-sm-10"> <div class="col-sm-10">
<input type="url" class="form-control" value={this.state.postForm.url} onInput={linkEvent(this, this.handlePostUrlChange)} /> <input type="url" class="form-control" value={this.state.postForm.url} onInput={linkEvent(this, this.handlePostUrlChange)} />
{this.state.suggestedTitle && {this.state.suggestedTitle &&
<span class="text-muted small font-weight-bold pointer" onClick={linkEvent(this, this.copySuggestedTitle}>copy suggested title: {this.state.suggestedTitle} <span class="text-muted small font-weight-bold pointer" onClick={linkEvent(this, this.copySuggestedTitle)}>copy suggested title: {this.state.suggestedTitle}</span>
</span>
} }
</div> </div>
</div> </div>