Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
crespocarlos committed Aug 23, 2023
1 parent 49fd1b4 commit 441db57
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { useCallback, useMemo, useState } from 'react';
import { parseDateRange } from '../../../utils/datemath';

import { toTimestampRange } from '../utils';
import { useAssetDetailsStateContext } from './use_asset_details_state';

const DEFAULT_DATE_RANGE: TimeRange = {
from: 'now-15m',
Expand All @@ -23,7 +22,6 @@ export interface UseAssetDetailsStateProps {
}

export function useDateRangeProvider({ initialDateRange }: UseAssetDetailsStateProps) {
const { onTabsStateChange } = useAssetDetailsStateContext();
const [dateRange, setDateRange] = useState(initialDateRange);

const parsedDateRange = useMemo(() => {
Expand Down

0 comments on commit 441db57

Please sign in to comment.