Skip to content

Commit

Permalink
Update centrifuge-app/src/pages/IssuerCreatePool/validate.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Onno Visser <[email protected]>
  • Loading branch information
kattylucy and onnovisser authored Dec 16, 2024
1 parent ada70e0 commit e9fba46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion centrifuge-app/src/pages/IssuerCreatePool/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export const validateValues = (values: CreatePoolValues) => {
}

if (values.assetOriginators.length >= 2) {
values.assetOriginators.some((val, idx) => {
values.assetOriginators.forEach((val, idx) => {
const isDuplicated = values.assetOriginators.indexOf(val) !== idx
if (isDuplicated) errors = setIn(errors, `assetOriginators.${idx}`, 'Address already exists')
})
Expand Down

0 comments on commit e9fba46

Please sign in to comment.