Skip to content

Commit

Permalink
Remove offset from query parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecao committed May 8, 2024
1 parent 43907bd commit 42b475b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/hooks/useFilterParams.ts
Expand Up @@ -5,7 +5,7 @@ import { zonedTimeToUtc } from 'date-fns-tz';

export function useFilterParams(websiteId: string) {
const [dateRange] = useDateRange(websiteId);
const { startDate, endDate, unit, offset } = dateRange;
const { startDate, endDate, unit } = dateRange;
const { timezone } = useTimezone();
const {
query: { url, referrer, title, query, os, browser, device, country, region, city, event },
Expand All @@ -15,7 +15,6 @@ export function useFilterParams(websiteId: string) {
startAt: +zonedTimeToUtc(startDate, timezone),
endAt: +zonedTimeToUtc(endDate, timezone),
unit,
offset,
timezone,
url,
referrer,
Expand Down

0 comments on commit 42b475b

Please sign in to comment.