forked from newthuhole/hole_thu_frontend
bug fix
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user