Skip to content

Commit

Permalink
fix: option click handler update issue
Browse files Browse the repository at this point in the history
affects: @medly-components/core
  • Loading branch information
gmukul01 committed Dec 1, 2024
1 parent a1a6c6d commit f7dfd32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const Component: FC<OptionProps> = memo(props => {
isNested && showNestedOptions();
onClick({ value, label, disabled, selected });
},
[isNested, disabled, onClick]
[value, label, isNested, disabled, selected, onClick]
);

useEffect(() => {
Expand Down

0 comments on commit f7dfd32

Please sign in to comment.