Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy committed Dec 3, 2024
1 parent e126f96 commit 7aff87e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions centrifuge-app/src/pages/IssuerCreatePool/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,9 @@ const IssuerCreatePoolPage = () => {
},
{
onSuccess: (args, result) => {
const event = result.events.find(({ event }) => api.events.poolRegistry.Created.is(event))
if (form.values.adminMultisigEnabled && form.values.adminMultisig.threshold > 1) setIsMultisigDialogOpen(true)
if (form.values.adminMultisigEnabled && form.values.adminMultisig.threshold > 1) {
setIsMultisigDialogOpen(true)
}
const [, , , , poolId] = args
console.log(poolId, result)
if (createType === 'immediate') {
Expand Down Expand Up @@ -395,6 +396,8 @@ const IssuerCreatePoolPage = () => {

const { values, errors } = form

console.log(values)

const checkStepCompletion = (stepNumber: number) => {
const fields = stepFields[stepNumber]
return fields.every(
Expand Down

0 comments on commit 7aff87e

Please sign in to comment.