- {rows.map((row) => {
- const showConflict = conflictingKeys.has(row.key);
- const showInvalidAmount =
- attemptedSave &&
- invalidAmountKeys.has(row.key);
- return (
-
-
-
- updateRow(row.key, {
- amount: e.target.value
- })
- }
- className="flex-1"
- />
-
-
-
-
- {showConflict && (
-
- {t("aiBudgetConflictError")}
-
- )}
- {showInvalidAmount && (
-
- {t("aiBudgetInvalidAmountError")}
-
- )}
-
- );
- })}
-