mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-18 15:23:38 +01:00
Typo in date fix
This commit is contained in:
parent
00c0fc5bac
commit
56bf85acae
@ -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…
Reference in New Issue
Block a user