diff --git a/src/components/datasets/DatasetForm.js b/src/components/datasets/DatasetForm.js index 8b6d60df..68c387ce 100644 --- a/src/components/datasets/DatasetForm.js +++ b/src/components/datasets/DatasetForm.js @@ -16,22 +16,14 @@ const DatasetForm = ({ initialValue, form, updateMode }) => { const discoveryValidator = useDiscoveryValidator(); const datsValidator = useDatsValidator(); if (initialValue && !initialValue?.data_use) { - initialValue["data_use"] = simpleDeepCopy(INITIAL_DATA_USE_VALUE) + initialValue["data_use"] = simpleDeepCopy(INITIAL_DATA_USE_VALUE); } return (