Temp workaround SDK 0 count

This commit is contained in:
Thomas Zarebczan 2021-10-02 11:44:25 -04:00 committed by GitHub
parent 11c9a53872
commit 1cb0461991
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ export default function CreatorAnalytics(props: Props) {
const [error, setError] = React.useState();
const [fetchingStats, setFetchingStats] = React.useState(false);
const claimId = claim && claim.claim_id;
const channelHasClaims = claim && claim.meta && claim.meta.claims_in_channel && claim.meta.claims_in_channel > 0;
const channelHasClaims = claim && claim.meta && claim.meta.claims_in_channel;
React.useEffect(() => {
setStats(null);