From 4acb363452582b3314c51f08fca01179db85a6da Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kaiser Date: Fri, 28 Jun 2024 10:21:26 +0200 Subject: [PATCH] reintroduce changes from #47 --- .../demo/src/contacts/ContactListFilter.tsx | 31 +++++++++++++++---- 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/packages/demo/src/contacts/ContactListFilter.tsx b/packages/demo/src/contacts/ContactListFilter.tsx index 36bbf02..8147492 100644 --- a/packages/demo/src/contacts/ContactListFilter.tsx +++ b/packages/demo/src/contacts/ContactListFilter.tsx @@ -12,7 +12,13 @@ import AccessTimeIcon from '@mui/icons-material/AccessTime'; import TrendingUpIcon from '@mui/icons-material/TrendingUp'; import LocalOfferIcon from '@mui/icons-material/LocalOffer'; import SupervisorAccountIcon from '@mui/icons-material/SupervisorAccount'; -import { endOfYesterday, startOfWeek, startOfMonth, subMonths } from 'date-fns'; +import { + endOfYesterday, + startOfWeek, + startOfMonth, + subMonths, + subWeeks, +} from 'date-fns'; import { Status } from '../misc/Status'; @@ -48,21 +54,34 @@ export const ContactListFilter = () => { }} /> +