Prevent null error.

This commit is contained in:
Mike Cao 2024-03-27 02:06:16 -07:00
parent 6bcc349a6e
commit 41593ee1df
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ export function DateFilter({
);
}
return options.find(e => e.value === value).label;
return options.find(e => e.value === value)?.label;
};
return (