Skip to content

Commit

Permalink
代码优化
Browse files Browse the repository at this point in the history
  • Loading branch information
Zyf665 committed Sep 3, 2024
1 parent 8826c66 commit 7429a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ const Select = React.forwardRef<BaseSelectRef, SelectProps<any, DefaultOptionTyp
options: sorter(item.options),
};
}
return { ...item };
return item;
});
};
const orderedFilteredOptions = React.useMemo(() => {
Expand Down

0 comments on commit 7429a9e

Please sign in to comment.