Merge pull request #1543 from lbryio/fix-empty-fetch
fix empty uri calls
This commit is contained in:
commit
5436a9dde6
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class CategoryList extends React.PureComponent<Props, State> {
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
const { fetching, categoryLink, fetchChannel } = this.props;
|
const { fetching, categoryLink, fetchChannel } = this.props;
|
||||||
if (!fetching) {
|
if (!fetching && categoryLink) {
|
||||||
fetchChannel(categoryLink);
|
fetchChannel(categoryLink);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue