Skip to content

Commit 77f4d2c

Browse files
committed
fix: lint feedback
1 parent 99cfb08 commit 77f4d2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/src/components/custom-select/custom-select.lite.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ export default function DBCustomSelect(props: DBCustomSelectProps) {
694694
} else if (
695695
props.values === null ||
696696
props.values === undefined ||
697-
(Array.isArray(props.values) && props.values.length === 0)
697+
(Array.isArray(props.values) && props.values?.length === 0)
698698
) {
699699
// Handle the case where props.values is empty/null/undefined
700700
// but state._values still contains items that need to be cleared

0 commit comments

Comments
 (0)