Skip to content

Commit

Permalink
fix operation edit bug (#952)
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerNoblett authored Oct 11, 2023
1 parent a2c5d2d commit 50860d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const EditForm = (props: {
const nameField = useFormField(props.name)
React.useEffect(() => {
nameField.onChange(props.name)
}, [props.name, nameField])
}, [props.name])

const formComponentProps = useForm({
fields: [nameField],
Expand Down

0 comments on commit 50860d6

Please sign in to comment.