Skip to content

Commit 811e46c

Browse files
committed
fix vercel logs
1 parent 7805f14 commit 811e46c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/web/src/components/tools/vercel_logs/dashboard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { CacheStatsChart } from './cache-stats-chart'
99
import { ResponseTimesChart } from './response-times-chart'
1010
import { TopPathsTable } from './top-paths-table'
1111
import { VercelFilters } from './filters'
12-
import { TimeRange } from '@/components/time-range'
12+
import { TimeRange, type TimeRange as TR } from '@/components/time-range'
1313
import { format } from 'date-fns'
1414
import { addDays } from 'date-fns'
1515
import { 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()

0 commit comments

Comments
 (0)