mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 18:15:35 +01:00
fix setDateRange typing issue
This commit is contained in:
parent
d431074b87
commit
79af936c93
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ export function setConfig(config: object) {
|
||||||
store.setState({ config });
|
store.setState({ config });
|
||||||
}
|
}
|
||||||
|
|
||||||
export function setDateRange(dateRange: object) {
|
export function setDateRange(dateRange: string | object) {
|
||||||
store.setState({ dateRange });
|
store.setState({ dateRange });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue