Skip to content

Commit

Permalink
remove unnecessary dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
michelleli01 committed Dec 26, 2023
1 parent 928345e commit 310758c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions client/src/modules/SearchBar/Components/SearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,17 +154,6 @@ export const SearchBar = ({
Session.setPersistent({ 'last-search': query })
}

const setInitState = () => {
setIndex(0)
setEnter(0)
setMouse(0)
setSelected(false)
setQuery('')
setCourses([])
setSubjects([])
setProfessors([])
}

const renderResults = () => {
if (query !== '' && !selected) {
let results = []
Expand Down

0 comments on commit 310758c

Please sign in to comment.