Merge branch 'analytics' into dev
This commit is contained in:
commit
b76f4aa42d
4 files changed
+4
-4
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user