File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
apps/web/src/components/tools/vercel_logs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { CacheStatsChart } from './cache-stats-chart'
99import { ResponseTimesChart } from './response-times-chart'
1010import { TopPathsTable } from './top-paths-table'
1111import { VercelFilters } from './filters'
12- import { TimeRange } from '@/components/time-range'
12+ import { TimeRange , type TimeRange as TR } from '@/components/time-range'
1313import { format } from 'date-fns'
1414import { addDays } from 'date-fns'
1515import { DateRange } from 'react-day-picker'
@@ -34,7 +34,7 @@ export default function VercelLogsDashboard() {
3434 const [ cacheStatsData , setCacheStatsData ] = useState < any [ ] > ( [ ] )
3535 const [ topPathsPage , setTopPathsPage ] = useState ( 0 )
3636 const [ topPathsLoading , setTopPathsLoading ] = useState ( false )
37- const [ timeRange , setTimeRange ] = useState ( 'daily' )
37+ const [ timeRange , setTimeRange ] = useState < TR > ( 'daily' )
3838 const [ dateRange , setDateRange ] = useState < DateRange > ( {
3939 from : addDays ( new Date ( ) , - 7 ) ,
4040 to : new Date ( )
You can’t perform that action at this time.
0 commit comments