Remove offset from query parameters.

This commit is contained in:
Mike Cao 2024-05-07 17:26:15 -07:00 committed by Mike Cao
parent 43907bd075
commit 42b475b061
1 changed files with 1 additions and 2 deletions

View File

@ -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 },
@ -15,7 +15,6 @@ export function useFilterParams(websiteId: string) {
startAt: +zonedTimeToUtc(startDate, timezone),
endAt: +zonedTimeToUtc(endDate, timezone),
unit,
offset,
timezone,
url,
referrer,