Updated component library build.
This commit is contained in:
1 parent
280f6a9113
commit
89db57a380
14 files changed
+146
-99
No files matched your search
@@ -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 (
|
||||
|
||||
Reference in new issue
Block a user