Skip to content

Commit

Permalink
fix: fix filter
Browse files Browse the repository at this point in the history
  • Loading branch information
laojun committed Jun 3, 2024
1 parent cfb2780 commit c347816
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,8 @@ const ExternalItem = ({ itemData, value, onChange, className = '' }: IProps) =>

const debouncedChange = React.useRef(
debounce((v) => {
// setCurValue(v?.trim());
// onChange(v?.trim());
onChange(v);
setCurValue(v?.trim());
onChange(v?.trim());
}, 1000),
);

Expand Down

0 comments on commit c347816

Please sign in to comment.