From e0514015a8a27bfc20b81637b424d54044af133e Mon Sep 17 00:00:00 2001 From: yivlad Date: Tue, 17 Dec 2024 10:37:42 +0100 Subject: [PATCH] Comments --- .../app/src/features/farm-details/logic/useFarmDetails.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/app/src/features/farm-details/logic/useFarmDetails.ts b/packages/app/src/features/farm-details/logic/useFarmDetails.ts index 1aa901de5..611f9f062 100644 --- a/packages/app/src/features/farm-details/logic/useFarmDetails.ts +++ b/packages/app/src/features/farm-details/logic/useFarmDetails.ts @@ -21,7 +21,7 @@ import { unstakeDialogConfig } from '../dialogs/unstake/UnstakeDialog' import { RewardPointsSyncStatus } from '../types' import { calculateReward as _calculateReward } from './calculateReward' import { getRewardPointsSyncStatus } from './getRewardPointsSyncStatus' -import { FarmHistoryQueryResult, useFarmHistory } from './historic/useFarmHistory' +import { FarmHistoryQueryResult, FarmHistoryTimeframe, useFarmHistory } from './historic/useFarmHistory' import { useFarmDetailsParams } from './useFarmDetailsParams' import { useRewardPointsData } from './useRewardPointsData' @@ -30,8 +30,8 @@ const GROWING_REWARD_REFRESH_INTERVAL_IN_MS = 50 export interface ChartDetails { farmHistory: FarmHistoryQueryResult onTimeframeChange: (timeframe: Timeframe) => void - timeframe: Timeframe - availableTimeframes: Timeframe[] + timeframe: FarmHistoryTimeframe + availableTimeframes: FarmHistoryTimeframe[] } export interface UseFarmDetailsResult {