We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9591ad commit bedc786Copy full SHA for bedc786
src/components/ChannelList.js
@@ -190,7 +190,10 @@ const ChannelList = withChatContext(
190
191
async componentDidUpdate(prevProps) {
192
// do we need deepequal?
193
- if (!isEqual(prevProps.filters, this.props.filters)) {
+ if (
194
+ !isEqual(prevProps.filters, this.props.filters) ||
195
+ !isEqual(prevProps.sort, this.props.sort)
196
+ ) {
197
await this.setState({
198
error: false,
199
channels: Immutable([]),
0 commit comments