Merge pull request #4011 from lbryio/fix-channelSelect-test
fix cold reload on channel select
This commit is contained in:
commit
5edf3de859
1 changed files with 2 additions and 2 deletions
|
@ -47,8 +47,8 @@ class ChannelSelection extends React.PureComponent<Props, State> {
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidUpdate() {
|
componentDidUpdate() {
|
||||||
const { channels } = this.props;
|
const { channels, fetchingChannels } = this.props;
|
||||||
if (!channels) {
|
if (!fetchingChannels && !channels) {
|
||||||
this.setState({ addingChannel: true });
|
this.setState({ addingChannel: true });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue