Split up logging in ViewBest

This commit is contained in:
Brandon Presley 2022-09-20 12:35:44 +12:00
parent 043d63be5d
commit 0717151962
1 changed files with 2 additions and 2 deletions

View File

@ -62,8 +62,8 @@ export default function ViewBest() {
getWeightsBy(params.best.name, period).then(setWeights); getWeightsBy(params.best.name, period).then(setWeights);
else if (metric === Metrics.Volume) else if (metric === Metrics.Volume)
getVolumes(params.best.name, period).then(setVolumes); getVolumes(params.best.name, period).then(setVolumes);
console.log(`${ViewBest.name}.useEffect`, {metric});
console.log(`${ViewBest.name}.useEffect`, {metric, period}); console.log(`${ViewBest.name}.useEffect`, {period});
}, [params.best.name, metric, period]); }, [params.best.name, metric, period]);
return ( return (