Skip to content

Commit

Permalink
fix: WIP update to move sorting over to UI
Browse files Browse the repository at this point in the history
  • Loading branch information
wdoconnell committed Jul 5, 2022
1 parent 6396266 commit 3e3d3a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Dropdowns/Composed/MenuDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const MenuDropdown: FC<MenuDropdownProps> = ({
// so need to reset

// Always show an instance of currently selected option at beginning of list.
setQueryResults([selectedOption, ...result])
setQueryResults(result)
setSelectIndex(-1)
} else {
setQueryResults([selectedOption, ...subMenuOptions])
Expand Down

0 comments on commit 3e3d3a1

Please # to comment.