fix(rtk-query): clear button not updating redux state

This commit is contained in:
FaberVitale 2021-06-17 20:01:47 +02:00
parent d34ee05a2e
commit b4b5a49eee

View File

@ -98,6 +98,7 @@ export class QueryForm extends React.PureComponent<
if (this.state.searchValue) { if (this.state.searchValue) {
this.setState({ searchValue: '' }); this.setState({ searchValue: '' });
this.invalidateSearchValueFromProps();
} }
}; };