mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-01 12:29:35 +01:00
fix setDateRange typing issue
This commit is contained in:
parent
d431074b87
commit
79af936c93
@ -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 });
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user