Skip to content

Commit

Permalink
feat(web): empty state for search
Browse files Browse the repository at this point in the history
  • Loading branch information
betofigueiredo committed Apr 6, 2024
1 parent 0bb7f6a commit 0831994
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/src/components/DrinksList/DrinksList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ const DrinksList = ({
{iceCreamCaipirinhas?.map((drink) => (
<DrinkRow key={drink.id} drink={drink} />
))}
{drinksList?.length === 0 && (
<div className="text-gray-500">Nenhum drinque encontrado.</div>
)}
<Pagination
category={category}
page={page}
Expand Down

0 comments on commit 0831994

Please sign in to comment.