bug fix
This commit is contained in:
@@ -453,6 +453,7 @@ export class ReplyForm extends Component {
|
|||||||
this.setState({
|
this.setState({
|
||||||
loading_status: 'done',
|
loading_status: 'done',
|
||||||
text: '',
|
text: '',
|
||||||
|
preview: false,
|
||||||
});
|
});
|
||||||
this.area_ref.current.clear();
|
this.area_ref.current.clear();
|
||||||
this.props.on_complete();
|
this.props.on_complete();
|
||||||
@@ -550,6 +551,7 @@ export class PostForm extends Component {
|
|||||||
this.setState({
|
this.setState({
|
||||||
loading_status: 'done',
|
loading_status: 'done',
|
||||||
text: '',
|
text: '',
|
||||||
|
preview: false,
|
||||||
});
|
});
|
||||||
this.area_ref.current.clear();
|
this.area_ref.current.clear();
|
||||||
this.props.on_complete();
|
this.props.on_complete();
|
||||||
|
|||||||
Reference in New Issue
Block a user