Merge pull request #1543 from lbryio/fix-empty-fetch

fix empty uri calls
This commit is contained in:
Sean Yesmunt 2018-06-04 10:49:32 -04:00 committed by GitHub
commit 5436a9dde6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ class CategoryList extends React.PureComponent<Props, State> {
componentDidMount() {
const { fetching, categoryLink, fetchChannel } = this.props;
if (!fetching) {
if (!fetching && categoryLink) {
fetchChannel(categoryLink);
}