diff --git a/ui/src/components/post-form.tsx b/ui/src/components/post-form.tsx index 9b33c6e1..54b3ca44 100644 --- a/ui/src/components/post-form.tsx +++ b/ui/src/components/post-form.tsx @@ -4,7 +4,7 @@ import { Subscription } from "rxjs"; import { retryWhen, delay, take } from 'rxjs/operators'; import { PostForm as PostFormI, Post, PostResponse, UserOperation, Community, ListCommunitiesResponse, ListCommunitiesForm, SortType, SearchForm, SearchType, SearchResponse } from '../interfaces'; import { WebSocketService, UserService } from '../services'; -import { msgOp, getPageTitle } from '../utils'; +import { msgOp, getPageTitle, debounce } from '../utils'; import * as autosize from 'autosize'; interface PostFormProps { @@ -87,7 +87,7 @@ export class PostForm extends Component {
- + {this.state.suggestedTitle &&
copy suggested title: {this.state.suggestedTitle}
} @@ -96,7 +96,7 @@ export class PostForm extends Component {
-