Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

fix(ts)

Carl-Gerhard Lindesvärdaeb9abcb13e9
diff --git a/apps/dashboard/src/hooks/useEventQueryFilters.ts b/apps/dashboard/src/hooks/useEventQueryFilters.ts
index 3cf1bb71b..bb7afd27a 100644
--- a/apps/dashboard/src/hooks/useEventQueryFilters.ts
+++ b/apps/dashboard/src/hooks/useEventQueryFilters.ts
@@ -59,7 +59,7 @@ export function useEventQueryFilters(options: NuqsOptions = {}) {
| undefined
| null
| (string | number | boolean | undefined | null)[],
- operator: IChartEventFilterOperator,
+ operator?: IChartEventFilterOperator,
) => {
setFilters((prev) => {
const exists = prev.find((filter) => filter.name === name);