summaryrefslogtreecommitdiffstats
path: root/ui/src/components/post-form.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-04-30 07:55:19 -0700
committerDessalines <tyhou13@gmx.com>2019-04-30 07:55:19 -0700
commitb04d4f03c55cbffefc16757b44207d962e34c8eb (patch)
tree81be02c210cf8d87ec3fa56d03804405d87d99fc /ui/src/components/post-form.tsx
parent5efce2f98b84826e8434ec70c987f00d0c58cdc0 (diff)
format fix
Diffstat (limited to 'ui/src/components/post-form.tsx')
-rw-r--r--ui/src/components/post-form.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/src/components/post-form.tsx b/ui/src/components/post-form.tsx
index 84979713..50b4acd1 100644
--- a/ui/src/components/post-form.tsx
+++ b/ui/src/components/post-form.tsx
@@ -86,8 +86,7 @@ export class PostForm extends Component<PostFormProps, PostFormState> {
<div class="col-sm-10">
<input type="url" class="form-control" value={this.state.postForm.url} onInput={linkEvent(this, this.handlePostUrlChange)} />
{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 class="text-muted small font-weight-bold pointer" onClick={linkEvent(this, this.copySuggestedTitle)}>copy suggested title: {this.state.suggestedTitle}</span>
}
</div>
</div>