mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00: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…
Reference in a new issue