Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhoaidanh committed Sep 29, 2023
1 parent 93b077e commit 450867a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function Select({
if (item.onSelect) item.onSelect?.()
else {
setSelected(value)
onChange(value)
onChange?.(value)
}
}
return (
Expand Down

0 comments on commit 450867a

Please sign in to comment.