Merge branch 'analytics' into dev

This commit is contained in:
Mike Cao 2024-02-16 19:28:53 -08:00
commit b76f4aa42d
4 changed files with 4 additions and 4 deletions

View file

@ -92,7 +92,7 @@ export function DateFilter({
const handleClose = () => setShowPicker(false);
const renderValue = (value: string) => {
const { unit } = parseDateValue(value);
const { unit } = parseDateValue(value) || {};
if (offset && unit === 'year') {
return formatDate(startDate, 'yyyy', locale);