Prevent null error.
This commit is contained in:
1 parent
6bcc349a6e
commit
41593ee1df
1 file changed
+1
-1
@@ -109,7 +109,7 @@ export function DateFilter({
|
||||
);
|
||||
}
|
||||
|
||||
return options.find(e => e.value === value).label;
|
||||
return options.find(e => e.value === value)?.label;
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user