diff --git a/components/dashboard/installment-analysis/installment-group-card.tsx b/components/dashboard/installment-analysis/installment-group-card.tsx index 9e0e250..4620d0d 100644 --- a/components/dashboard/installment-analysis/installment-group-card.tsx +++ b/components/dashboard/installment-analysis/installment-group-card.tsx @@ -6,10 +6,9 @@ import { Card, CardContent } from "@/components/ui/card"; import { Checkbox } from "@/components/ui/checkbox"; import { Progress } from "@/components/ui/progress"; import { cn } from "@/lib/utils/ui"; -import { RiArrowDownSLine, RiArrowRightSLine, RiBankCard2Line } from "@remixicon/react"; +import { RiArrowDownSLine, RiArrowRightSLine } from "@remixicon/react"; import { format } from "date-fns"; import { ptBR } from "date-fns/locale"; -import Image from "next/image"; import { useState } from "react"; import type { InstallmentGroup } from "./types"; @@ -34,14 +33,6 @@ export function InstallmentGroupCard({ const unpaidCount = unpaidInstallments.length; - // Validar se o logo é uma URL válida (deve começar com / ou http:// ou https://) - const isValidLogo = - group.cartaoLogo && - group.cartaoLogo.trim().length > 0 && - (group.cartaoLogo.startsWith('/') || - group.cartaoLogo.startsWith('http://') || - group.cartaoLogo.startsWith('https://')); - const isFullySelected = selectedInstallments.size === unpaidInstallments.length && unpaidInstallments.length > 0; @@ -74,22 +65,7 @@ export function InstallmentGroupCard({
{group.name}
-{group.name}