diff --git a/src/components/Stats/index.tsx b/src/components/Stats/index.tsx index 9d06af638..715fe4d7d 100644 --- a/src/components/Stats/index.tsx +++ b/src/components/Stats/index.tsx @@ -114,6 +114,8 @@ export const Stats = () => { } function handleStatClick(mediaType: string) { + return + fetchData(setBudget, setAbortRequests, '', { ...(mediaType ? { media_type: mediaType } : {}), skip_cache: 'true' }) setSelectedNode(null) @@ -149,18 +151,12 @@ export const Stats = () => { return null } - const isTemporarilyDisabled = true - return ( {StatsConfig.map(({ name, icon, key, mediaType, tooltip }) => stats[key as keyof TStats] !== '0' ? ( - handleStatClick(mediaType) : () => 'undefined'} - > + handleStatClick(mediaType)}>
{icon}
{stats[key as keyof TStats]}