Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
fix setDateRange typing issue
Francis Cao79af936c934b
diff --git a/src/store/app.ts b/src/store/app.tsindex 8fa1a0d5b..de6874ba8 100644--- a/src/store/app.ts+++ b/src/store/app.ts@@ -40,7 +40,7 @@ export function setConfig(config: object) {store.setState({ config });}-export function setDateRange(dateRange: object) {+export function setDateRange(dateRange: string | object) {store.setState({ dateRange });}