Skip to content

Commit

Permalink
fix: pass option object value to selectItem
Browse files Browse the repository at this point in the history
  • Loading branch information
KumJungMin committed Oct 11, 2024
1 parent f2edb0d commit 6ee60b8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/lib/dropdown/Dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,9 @@ export const Dropdown = React.memo(
};

const onOptionSelect = (event, option, isHide = true) => {
const value = getOptionValue(option);

selectItem({
originalEvent: event,
option: value
option
});

isHide && hide(true);
Expand Down

0 comments on commit 6ee60b8

Please sign in to comment.