Skip to content

Commit

Permalink
Merge pull request #64 from Trycatch-tv/dev
Browse files Browse the repository at this point in the history
fix: ahora sí
  • Loading branch information
judlup authored May 21, 2024
2 parents 1c0009c + c362b5c commit f066904
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/bootcamps/searchbar/searchbar.container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ const SearchBarContainer = () => {
setKeyValue(keyValue)
}
const handleSearch = async () => {
const bootcamps = await bootcampController.search(keyValue)
setBootcamps(bootcamps)
const getSearchBootcamps = await bootcampController.search(keyValue)
setBootcamps(getSearchBootcamps)
// TODO: Pendiente enviar el resultado al storage de Zustand (cuando esté implementado)
console.log(bootcamps)
}
Expand Down

0 comments on commit f066904

Please sign in to comment.