Skip to content

Commit

Permalink
removing unnessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrin2005 committed Feb 25, 2025
1 parent 7facf7a commit fae10e3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/Common/SearchByMultipleFields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,6 @@ const SearchByMultipleFields: React.FC<SearchByMultipleFieldsProps> = ({
}
}, [autoFocus, open, selectedOptionIndex]);

useEffect(() => {
if (inputRef.current) {
inputRef.current.focus();
}
}, [selectedOptionIndex]);
useEffect(() => {
if (selectedOption.value !== searchValue) {
setSearchValue(selectedOption.value || "");
Expand Down

0 comments on commit fae10e3

Please sign in to comment.