Skip to content

Commit

Permalink
fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
deadit committed Nov 1, 2023
1 parent 442e6c8 commit 33ac4d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/components/BankReservesGraph/useAggregatedByDateData.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { DateTime } from 'luxon';
import { useMemo } from 'react';

import { PoolChartData } from '../../common/models/CirculationSupplyData';
import { BankReservesData } from '../../common/models/BankReservesData';

export const useAggregatedByDateData = (
rawData: PoolChartData[],
rawData: BankReservesData[],
ticks: DateTime[],
): PoolChartData[] => {
): BankReservesData[] => {
return useMemo(() => {
if (rawData.length < 1) {
return [];
Expand Down
6 changes: 3 additions & 3 deletions src/components/CirculationSupply/useAggregatedByDateData.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { DateTime } from 'luxon';
import { useMemo } from 'react';

import { PoolChartData } from '../../common/models/CirculationSupplyData';
import { CirculationSupplyData } from '../../common/models/CirculationSupplyData';

export const useAggregatedByDateData = (
rawData: PoolChartData[],
rawData: CirculationSupplyData[],
ticks: DateTime[],
): PoolChartData[] => {
): CirculationSupplyData[] => {
return useMemo(() => {
if (rawData.length < 1) {
return [];
Expand Down

0 comments on commit 33ac4d5

Please sign in to comment.