Skip to content

Commit 3d356b6

Browse files
committed
fix
1 parent a08faff commit 3d356b6

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

components/home/charts/top-stats.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,24 @@ const TopStats = () => {
3232
REQUESTS[0],
3333
0,
3434
'total_users',
35-
true
3635
);
37-
const [dataTotalVolume, loadingVol, errorVol] = useRequest(REQUESTS[1], 0, 'chart_data', true);
36+
const [dataTotalVolume, loadingVol, errorVol] = useRequest(REQUESTS[1], 0, 'chart_data');
3837
const [totalVolume, setTotalVolume] = useState<number>(0);
3938
const [dataTotalDeposits, loadingTotalDeposits, errorTotalDeposits] = useRequest(
4039
REQUESTS[2],
4140
0,
42-
'total_deposits',
43-
true
41+
'total_deposits'
4442
);
4543
const [dataTotalWithdrawals, loadingTotalWithdrawals, errorTotalWithdrawals] = useRequest(
4644
REQUESTS[3],
4745
0,
4846
'total_withdrawals',
49-
true
5047
);
5148
const [
5249
dataTotalNotionalLiquidated,
5350
loadingTotalNotionalLiquidated,
5451
errorTotalNotionalLiquidated,
55-
] = useRequest(REQUESTS[4], 0, 'total_notional_liquidated', true);
52+
] = useRequest(REQUESTS[4], 0, 'total_notional_liquidated');
5653

5754
interface TotalVolume {
5855
time: string;

0 commit comments

Comments
 (0)