Skip to content

Commit

Permalink
Revert unintended changes
Browse files Browse the repository at this point in the history
  • Loading branch information
s-rubenstein committed Oct 18, 2024
1 parent fcd5c58 commit 8737914
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/data_update/DatasetUpdate.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export const DatasetUpdate = (props) => {
validators={[FormValidators.REQUIRED]}
defaultValue={formData.properties.description}
onChange={({ value }) => {
formData.properties.duosId = value;
formData.properties.description = value;
}}
/>
<FormField
Expand Down Expand Up @@ -198,7 +198,7 @@ export const DatasetUpdate = (props) => {
validators={[FormValidators.REQUIRED]}
defaultValue={formData.properties.species}
onChange={({ value }) => {
formData.properties.donorSize = value;
formData.properties.species = value;
}}
/>
<FormField
Expand All @@ -207,7 +207,7 @@ export const DatasetUpdate = (props) => {
validators={[FormValidators.REQUIRED]}
defaultValue={formData.properties.phenotype}
onChange={({ value }) => {
formData.properties.dataType = value;
formData.properties.phenotype = value;
}}
/>
<FormField
Expand Down

0 comments on commit 8737914

Please sign in to comment.