Skip to content

Commit

Permalink
Renamed variable
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-smee-ttd committed Jan 7, 2024
1 parent 535cd92 commit 0d2582a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function UpdateParticipantDialog(props: UpdateParticipantDialogProps) {
setOpen(false);
};

const currentFormValue: ParticipantUpdateForm = {
const currentFormValues: ParticipantUpdateForm = {
apiRoles: props.participant.apiRoles
? props.participant.apiRoles.map((apiRole) => apiRole.id)
: [],
Expand All @@ -40,7 +40,7 @@ function UpdateParticipantDialog(props: UpdateParticipantDialogProps) {
<Form<ParticipantUpdateForm>
onSubmit={onSubmit}
submitButtonText='Update Participant'
defaultValues={currentFormValue}
defaultValues={currentFormValues}
>
<CheckboxInput
inputName='apiRoles'
Expand Down

0 comments on commit 0d2582a

Please sign in to comment.