mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Typo in date fix
This commit is contained in:
parent
00c0fc5bac
commit
56bf85acae
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ export default function useDateRange(websiteId, defaultDateRange = '24hour') {
|
|||
|
||||
if (typeof globalDefault === 'string') {
|
||||
globalDateRange = getDateRange(globalDefault);
|
||||
} else if (typeof globalDateRange === 'object') {
|
||||
} else if (typeof globalDefault === 'object') {
|
||||
globalDateRange = {
|
||||
...globalDefault,
|
||||
startDate: parseISO(globalDefault.startDate),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue