Skip to content

Commit

Permalink
fix: optional expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackman99 committed Aug 15, 2023
1 parent af23aca commit ee1e377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/form/CSelect.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
}
value = item.value
focused = false
dropdown?.toggleManually(false)
if (dropdown) dropdown.toggleManually(false)
}
$: isItemActive = (/** @type {{ value: any; }} */ item) => {
Expand Down

0 comments on commit ee1e377

Please sign in to comment.