From 6124133e8517165a97aa87af5485857a000951a2 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 2 Feb 2020 14:22:35 -0500 Subject: Doing comment-node, comment-form and private-message. --- ui/src/components/comment-form.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'ui/src/components/comment-form.tsx') diff --git a/ui/src/components/comment-form.tsx b/ui/src/components/comment-form.tsx index 7eb30f50..eaa054d8 100644 --- a/ui/src/components/comment-form.tsx +++ b/ui/src/components/comment-form.tsx @@ -15,7 +15,6 @@ import { WebSocketService, UserService } from '../services'; import autosize from 'autosize'; import Tribute from 'tributejs/src/Tribute.js'; import { i18n } from '../i18next'; -import { T } from 'inferno-i18next'; interface CommentFormProps { postId?: number; @@ -127,7 +126,7 @@ export class CommentForm extends Component { .previewMode && 'active'}`} onClick={linkEvent(this, this.handlePreviewToggle)} > - # + {i18n.t('preview')} )} {this.props.node && ( @@ -136,7 +135,7 @@ export class CommentForm extends Component { class="btn btn-sm btn-secondary mr-2" onClick={linkEvent(this, this.handleReplyCancel)} > - # + {i18n.t('cancel')} )} { target="_blank" class="d-inline-block float-right text-muted small font-weight-bold" > - # + {i18n.t('formatting_help')}