mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 13:47:15 +01:00
Updated component library build.
This commit is contained in:
parent
280f6a9113
commit
89db57a380
14 changed files with 146 additions and 99 deletions
|
|
@ -12,14 +12,12 @@ export function WebsiteDateFilter({ websiteId }) {
|
|||
const isFutureDate =
|
||||
value !== 'all' && isAfter(incrementDateRange(dateRange, -1).startDate, new Date());
|
||||
|
||||
const handleChange = async value => {
|
||||
const handleChange = value => {
|
||||
setDateRange(value);
|
||||
};
|
||||
|
||||
const handleIncrement = async value => {
|
||||
const newValue = incrementDateRange(dateRange, value);
|
||||
|
||||
setDateRange(newValue);
|
||||
const handleIncrement = value => {
|
||||
setDateRange(incrementDateRange(dateRange, value));
|
||||
};
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue