Skip to content

Commit

Permalink
fixes useEffect SearchSpoonacularPage.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalWo committed May 21, 2022
1 parent 7b93999 commit 0cd64d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/pages/SearchSpoonacularPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default function SearchSpoonacularPage(){

useEffect(() => {
getSpoonaRecipeBySearch(search)
// eslint-disable-next-line
},[search])

const onSubmit = (event:FormEvent<HTMLFormElement>) => {
Expand Down

0 comments on commit 0cd64d8

Please sign in to comment.