From 7c3414941d7ca39c098f8fc075706d1968eebc7c Mon Sep 17 00:00:00 2001 From: thuhole Date: Thu, 25 Jun 2020 19:48:46 +0800 Subject: [PATCH] bug fix --- src/UserAction.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/UserAction.js b/src/UserAction.js index 351e57b..53d7f78 100644 --- a/src/UserAction.js +++ b/src/UserAction.js @@ -453,6 +453,7 @@ export class ReplyForm extends Component { this.setState({ loading_status: 'done', text: '', + preview: false, }); this.area_ref.current.clear(); this.props.on_complete(); @@ -550,6 +551,7 @@ export class PostForm extends Component { this.setState({ loading_status: 'done', text: '', + preview: false, }); this.area_ref.current.clear(); this.props.on_complete();