Skip to content

Commit 6651e23

Browse files
lint clean up
1 parent 920945a commit 6651e23

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

web/libs/datamanager/src/components/Filters/FilterDropdown.jsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ export const FilterDropdown = observer(
1919
}) => {
2020
const parseItems = useCallback(
2121
(item) => {
22-
const OptionVisuals = optionRender ?? (() => {
23-
return <>{item?.label ?? item?.title ?? item?.value ?? item}</>
24-
});
22+
const OptionVisuals =
23+
optionRender ??
24+
(() => {
25+
return <>{item?.label ?? item?.title ?? item?.value ?? item}</>;
26+
});
2527
const option =
2628
typeof item === "string" || typeof item === "number"
2729
? { label: <OptionVisuals item={item} />, value: item, original: item }

0 commit comments

Comments
 (0)