parent
7cbb7a54aa
commit
29b2a8aeff
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ export default function CreatorAnalytics(props: Props) {
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
if (claimId && channelForEffect && channelHasClaims) {
|
if (claimId && channelForEffect && channelHasClaims) {
|
||||||
setFetchingStats(true);
|
setFetchingStats(true);
|
||||||
Lbryio.call('reports', 'content', { claim_id: claimId })
|
Lbryio.call('channel', 'stats', { claim_id: claimId })
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
setFetchingStats(false);
|
setFetchingStats(false);
|
||||||
setStats(res);
|
setStats(res);
|
||||||
|
|
Loading…
Reference in a new issue