Skip to content

Commit

Permalink
feat: Correção do título com/sem filtros #247 (#270)
Browse files Browse the repository at this point in the history
close: #247
  • Loading branch information
rodrigooler authored Jun 3, 2024
2 parents b58d437 + 8bc5f61 commit 4b869f5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ const ShelterListView = React.forwardRef<HTMLDivElement, IShelterListViewProps>(
return (
<div className={cn(className, 'flex flex-col gap-2')}>
<h1 className="text-[#2f2f2f] font-semibold text-2xl">
Abrigos disponíveis ({count})
{searchParams.toString()
? `Abrigos encontrados (${count})`
: `Total de abrigos (${count})`
}
</h1>
<Alert
description="Você pode consultar a lista de abrigos disponíveis. Ver e editar os itens que necessitam de doações."
Expand Down

0 comments on commit 4b869f5

Please sign in to comment.