Refactor DatePicker and Type2 components

This commit is contained in:
kur0nek-o
2024-02-28 18:05:23 +07:00
parent 48749849ca
commit 68fd3e6bee
6 changed files with 1006 additions and 484 deletions

View File

@ -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()]
}
},
{