Skip to content

Commit

Permalink
make default selection to 5 minute (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfatihercik authored Aug 6, 2024
1 parent a6e0493 commit 89b8dea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/features/selections/selectionsSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const initialState: Selections = {
infoIsOpen: false,
deleteRequestAlertIsOpen: false,
requestIsOpen: false,
dateTimeRange: {start: Date.now() - 24*3600*1000, end: Date.now()}
dateTimeRange: {start: Date.now() - 5*60*1000, end: Date.now()} // last 5 minute
};
const slice = createSlice({
name: 'selections',
Expand Down Expand Up @@ -73,4 +73,4 @@ export const {
selectRequest,
setDateTimeRange
} = slice.actions;
export default slice.reducer;
export default slice.reducer;

0 comments on commit 89b8dea

Please sign in to comment.