1- import useMountedState from '@/hooks/useMountedState' ;
21import { Box , Button , Divider , Menu , NumberInput , Stack , Text , Tooltip , px } from '@mantine/core' ;
32import { DatePicker , TimeInput } from '@mantine/dates' ;
3+ import { Fragment , useCallback , useMemo , useRef , useState } from 'react' ;
44import { IconCalendarEvent , IconCheck , IconChevronLeft , IconChevronRight } from '@tabler/icons-react' ;
5- import dayjs from 'dayjs' ;
5+ import { appStoreReducers , useAppStore } from '@/layouts/MainLayout/providers/AppProvider' ;
6+ import { logsStoreReducers , useLogsStore } from '@/pages/Stream/providers/LogsProvider' ;
7+
68import type { FC } from 'react' ;
7- import { Fragment , useCallback , useMemo , useRef , useState } from 'react' ;
89import { FIXED_DURATIONS } from '@/constants/timeConstants' ;
9- import classes from './styles/LogQuery.module.css' ;
10- import { useOuterClick } from '@/hooks/useOuterClick' ;
1110import _ from 'lodash' ;
11+ import classes from './styles/LogQuery.module.css' ;
12+ import dayjs from 'dayjs' ;
1213import timeRangeUtils from '@/utils/timeRangeUtils' ;
13- import { appStoreReducers , useAppStore } from '@/layouts/MainLayout/providers/AppProvider ' ;
14- import { logsStoreReducers , useLogsStore } from '@/pages/Stream/providers/LogsProvider ' ;
14+ import useMountedState from '@/hooks/useMountedState ' ;
15+ import { useOuterClick } from '@/hooks/useOuterClick ' ;
1516
1617const { getRelativeStartAndEndDate } = timeRangeUtils ;
1718const { setTimeRange, setshiftInterval } = appStoreReducers ;
@@ -131,7 +132,7 @@ const TimeRange: FC = () => {
131132 < Stack className = { classes . timeRangeBtnContainer } >
132133 < Tooltip label = { `${ shiftLabelPrefix } Back` } >
133134 < Stack className = { classes . timeRangeCtrlIcon } onClick = { ( ) => shiftTimeRange ( 'left' ) } >
134- < IconChevronLeft stroke = { 2 } size = "1rem" style = { { cursor : 'pointer' } } />
135+ < IconChevronLeft color = "#495057" stroke = { 1.5 } size = "1rem" style = { { cursor : 'pointer' } } />
135136 </ Stack >
136137 </ Tooltip >
137138 < Stack style = { { flexDirection : 'row' , alignItems : 'center' } } gap = { 0 } >
@@ -143,12 +144,12 @@ const TimeRange: FC = () => {
143144 </ Text >
144145 ) }
145146 < Stack onClick = { toggleMenu } px = { 10 } className = "calenderIcon" >
146- < IconCalendarEvent size = { px ( '1rem' ) } stroke = { 1.5 } style = { { cursor : 'pointer' } } />
147+ < IconCalendarEvent color = "#495057" size = { px ( '1rem' ) } stroke = { 1.5 } style = { { cursor : 'pointer' } } />
147148 </ Stack >
148149 </ Stack >
149150 < Tooltip label = { `${ shiftLabelPrefix } Forward` } >
150151 < Stack className = { classes . timeRangeCtrlIcon } onClick = { ( ) => shiftTimeRange ( 'right' ) } >
151- < IconChevronRight stroke = { 2 } size = "1rem" style = { { cursor : 'pointer' } } />
152+ < IconChevronRight color = "#495057" stroke = { 1.5 } size = "1rem" style = { { cursor : 'pointer' } } />
152153 </ Stack >
153154 </ Tooltip >
154155 </ Stack >
0 commit comments