Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmkeng committed Apr 10, 2024
1 parent 3ac341f commit a515b1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dexs/increment-protocol/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ export default {
const volumeData = await request(subgraphUrl, volumeQuery, {
endTimestamp: endTimestamp ?? Math.floor(Date.now() / 1000)
});
let dailyVolume = 0;
dailyVolume += volumeData.dailyCandles.reduce(
const dailyVolume = volumeData.dailyCandles.reduce(
(acc, { volume }) => acc + volume * 10 ** -18,
0
);
Expand Down

0 comments on commit a515b1d

Please sign in to comment.