Do not refresh when community is selected in create post (#1042)
This commit is contained in:
parent
7bcf079acf
commit
7720e37a63
2 changed files with 14 additions and 18 deletions
|
@ -644,13 +644,7 @@ export class PostForm extends Component<PostFormProps, PostFormState> {
|
|||
|
||||
handleCommunitySelect(choice: Choice) {
|
||||
if (this.props.onSelectCommunity) {
|
||||
this.setState({
|
||||
loading: true,
|
||||
});
|
||||
|
||||
this.props.onSelectCommunity(choice);
|
||||
|
||||
this.setState({ loading: false });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue