refactor: remove exports internos sem uso

This commit is contained in:
Felipe Coutinho
2026-06-06 16:31:38 -03:00
parent 356801324c
commit 811a035cb0
6 changed files with 4 additions and 48 deletions

View File

@@ -137,24 +137,6 @@ export function getSplitSummaryData(
};
}
export function getSplitSummaryLabel(
formState: FormState,
payerOptions: SplitSummaryPayerOption[],
totalAmount: number,
) {
const summary = getSplitSummaryData(formState, payerOptions, totalAmount);
if (summary.type === "text") return summary.label;
const namesLabel = summary.participants
.map((participant) => participant.firstName)
.join(" ");
const remainingLabel =
summary.remainingCount > 0 ? ` +${summary.remainingCount}` : "";
return `${summary.count} pessoas: ${namesLabel}${remainingLabel} · ${summary.totalLabel}`;
}
export function SplitConfigDialog({
open,
onOpenChange,