-
{pairs.map((p) => (
-
- - {p.source} → {p.destination} +
-
+ ++
+ {p.source} → {p.destination} +
++ Current fee: {p.fee_bps ?? 0} bps +
++++{ + const key = pairKey(p); + setDraftFees((current) => ({ + ...current, + [key]: e.target.value, + })); + setRowErrors((current) => ({ ...current, [key]: "" })); + }} + error={rowErrors[pairKey(p)]} + className="flex-1" + /> + +
))}