Skip to content

Commit

Permalink
Only show data for days for which all blockchains have data
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJem committed Apr 24, 2023
1 parent 0d08b6b commit 3be543d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/hooks/useSubgraphTokenRecords.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,13 +378,8 @@ export const useTokenRecordsQueries = (
}, "");
};

/**
* If getCommonLatestDate() is used, then the results will be limited to the day
* for which all blockchains have data. As some blockchains have intermittent issues
* with indexing, this is set to null for the moment.
*/
// const commonLatestDate = getCommonLatestDate();
const commonLatestDate = null;
// This results in the dashboard only showing data for the latest day for which all blockchains have data
const commonLatestDate = getCommonLatestDate();

console.info(`${chartName}: Received all results. Combining.`);
const tempResults = new Map<string, TokenRecord[]>();
Expand Down

0 comments on commit 3be543d

Please sign in to comment.