diff options
author | Dessalines <tyhou13@gmx.com> | 2020-01-06 11:22:51 -0500 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-01-06 11:22:51 -0500 |
commit | 82253f625b6cadfb7c7c4044c0c0a385f0caefbe (patch) | |
tree | 860006933cdc139c50a8dfabe94ef6e55d86f1ba /ui/src/components/post-form.tsx | |
parent | 8c4e973409a9bcfa5a09b1da8f1441d0bec4ea40 (diff) |
Upgrade package.json.
Diffstat (limited to 'ui/src/components/post-form.tsx')
-rw-r--r-- | ui/src/components/post-form.tsx | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/ui/src/components/post-form.tsx b/ui/src/components/post-form.tsx index 7964a3ff..fe633a01 100644 --- a/ui/src/components/post-form.tsx +++ b/ui/src/components/post-form.tsx @@ -29,7 +29,7 @@ import { debounce, isImage, } from '../utils'; -import * as autosize from 'autosize'; +import autosize from 'autosize'; import { i18n } from '../i18next'; import { T } from 'inferno-i18next'; @@ -107,14 +107,7 @@ export class PostForm extends Component<PostFormProps, PostFormState> { } this.subscription = WebSocketService.Instance.subject - .pipe( - retryWhen(errors => - errors.pipe( - delay(3000), - take(10) - ) - ) - ) + .pipe(retryWhen(errors => errors.pipe(delay(3000), take(10)))) .subscribe( msg => this.parseMessage(msg), err => console.error(err), |