Skip to content

Commit

Permalink
Bugfix for issues when missing instruction forms (solana-labs#1392)
Browse files Browse the repository at this point in the history
  • Loading branch information
dankelleher authored Feb 12, 2023
1 parent e93e83d commit 1bf8daa
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,13 +232,15 @@ const CloseTokenAccount = ({
]
return (
<>
{form && (
<InstructionForm
outerForm={form}
setForm={setForm}
inputs={inputs}
setFormErrors={setFormErrors}
formErrors={formErrors}
></InstructionForm>
)}
</>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,15 @@ const ConfigureGatewayPlugin = ({
]
return (
<>
{form && (
<InstructionForm
outerForm={form}
setForm={setForm}
inputs={inputs}
setFormErrors={setFormErrors}
formErrors={formErrors}
></InstructionForm>
)}
</>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,13 +196,15 @@ const CreateGatewayPluginRegistrar = ({

return (
<>
{form && (
<InstructionForm
outerForm={form}
setForm={setForm}
inputs={inputs}
setFormErrors={setFormErrors}
formErrors={formErrors}
></InstructionForm>
)}
</>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,15 @@ const AddKeyToDID = ({

return (
<>
{form && (
<InstructionForm
outerForm={form}
setForm={setForm}
inputs={inputs}
setFormErrors={setFormErrors}
formErrors={formErrors}
></InstructionForm>
)}
</>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,15 @@ const AddServiceToDID = ({

return (
<>
{form && (
<InstructionForm
outerForm={form}
setForm={setForm}
inputs={inputs}
setFormErrors={setFormErrors}
formErrors={formErrors}
></InstructionForm>
)}
</>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,15 @@ const RemoveKeyFromDID = ({

return (
<>
{form && (
<InstructionForm
outerForm={form}
setForm={setForm}
inputs={inputs}
setFormErrors={setFormErrors}
formErrors={formErrors}
></InstructionForm>
)}
</>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,15 @@ const RemoveServiceFromDID = ({

return (
<>
{form && (
<InstructionForm
outerForm={form}
setForm={setForm}
inputs={inputs}
setFormErrors={setFormErrors}
formErrors={formErrors}
></InstructionForm>
)}
</>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,15 @@ const ConfigureNftPluginCollection = ({
]
return (
<>
{form && (
<InstructionForm
outerForm={form}
setForm={setForm}
inputs={inputs}
setFormErrors={setFormErrors}
formErrors={formErrors}
></InstructionForm>
)}
</>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,15 @@ const CreateNftPluginMaxVoterWeightRecord = ({
]
return (
<>
{form && (
<InstructionForm
outerForm={form}
setForm={setForm}
inputs={inputs}
setFormErrors={setFormErrors}
formErrors={formErrors}
></InstructionForm>
)}
</>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,15 @@ const CreateNftPluginRegistrar = ({
]
return (
<>
{form && (
<InstructionForm
outerForm={form}
setForm={setForm}
inputs={inputs}
setFormErrors={setFormErrors}
formErrors={formErrors}
></InstructionForm>
)}
</>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,15 @@ const CreateVsrRegistrar = ({
]
return (
<>
{form && (
<InstructionForm
outerForm={form}
setForm={setForm}
inputs={inputs}
setFormErrors={setFormErrors}
formErrors={formErrors}
></InstructionForm>
)}
</>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,13 +270,15 @@ const VotingMintConfig = ({
]
return (
<>
{form && (
<InstructionForm
outerForm={form}
setForm={setForm}
inputs={inputs}
setFormErrors={setFormErrors}
formErrors={formErrors}
></InstructionForm>
)}
</>
)
}
Expand Down

0 comments on commit 1bf8daa

Please sign in to comment.