setBillingForm((f) => {
const next = [...f.rentPaymentDestinations]
- next[index()] = {
- ...next[index()]!,
+ next[index] = {
+ ...next[index]!,
label: e.currentTarget.value
}
return { ...f, rentPaymentDestinations: next }
@@ -707,12 +707,12 @@ export default function SettingsRoute() {
setBillingForm((f) => {
const next = [...f.rentPaymentDestinations]
- next[index()] = {
- ...next[index()]!,
+ next[index] = {
+ ...next[index]!,
recipientName: e.currentTarget.value || null
}
return { ...f, rentPaymentDestinations: next }
@@ -722,12 +722,12 @@ export default function SettingsRoute() {
setBillingForm((f) => {
const next = [...f.rentPaymentDestinations]
- next[index()] = {
- ...next[index()]!,
+ next[index] = {
+ ...next[index]!,
bankName: e.currentTarget.value || null
}
return { ...f, rentPaymentDestinations: next }
@@ -737,12 +737,12 @@ export default function SettingsRoute() {
setBillingForm((f) => {
const next = [...f.rentPaymentDestinations]
- next[index()] = {
- ...next[index()]!,
+ next[index] = {
+ ...next[index]!,
account: e.currentTarget.value
}
return { ...f, rentPaymentDestinations: next }
@@ -752,12 +752,12 @@ export default function SettingsRoute() {
setBillingForm((f) => {
const next = [...f.rentPaymentDestinations]
- next[index()] = {
- ...next[index()]!,
+ next[index] = {
+ ...next[index]!,
link: e.currentTarget.value || null
}
return { ...f, rentPaymentDestinations: next }
@@ -767,12 +767,12 @@ export default function SettingsRoute() {
)}
-