Skip to content

Commit

Permalink
Fixe small issue when filtering and get back again to all and load mo…
Browse files Browse the repository at this point in the history
…re button/
  • Loading branch information
joaoluizmagalhaes committed Feb 23, 2024
1 parent 7861ddb commit ebca9a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export default function Home() {
setDisabledClearBtn(false)
setFilteredPeople(filtered)
setDisplayCount(Math.min(filtered.length, 8))
setTotalFilteredPeopleCount(filteredPeople.length)
setTotalFilteredPeopleCount(filtered.length)
}

return (
Expand Down

0 comments on commit ebca9a3

Please sign in to comment.