Refactor DatePicker and Type2 components
This commit is contained in:
@ -16,7 +16,7 @@ const customShortcuts = () => {
|
||||
label: 'Last 15 Days',
|
||||
atClick: () => {
|
||||
const date = new Date()
|
||||
return [new Date(date.setDate(date.getDate() + 1)), date]
|
||||
return [new Date(date.setDate(date.getDate() - 15)), new Date()]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user