This commit is contained in:
parent
f1f5f1c9b3
commit
8e6cd7c620
|
@ -17,7 +17,7 @@ export const selectTimeUpdatePolicyInterval = (state: WaffleTimeState) =>
|
|||
state.updatePolicy.policy === 'interval' ? state.updatePolicy.interval : null;
|
||||
|
||||
export const selectCurrentTimeRange = createSelector(selectCurrentTime, currentTime => ({
|
||||
from: currentTime - 1000 * 60 * 60,
|
||||
from: currentTime - 1000 * 60 * 5,
|
||||
interval: '1m',
|
||||
to: currentTime,
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue