Set results count to 0 (#4629)

This commit is contained in:
Miguel Alatzar 2020-07-30 21:32:07 -07:00 committed by GitHub
parent e1ec0fdf94
commit 4992052fb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,6 +62,7 @@ export default class AtMention extends PureComponent {
// Not invoked, render nothing.
if (matchTerm === null) {
this.props.onResultCountChange(0);
this.setState({
mentionComplete: false,
sections: [],