diff --git a/src/fragmentarium/ui/fragment/ArchaeologyEditor.tsx b/src/fragmentarium/ui/fragment/ArchaeologyEditor.tsx index 6736edca4..a78cda7dc 100644 --- a/src/fragmentarium/ui/fragment/ArchaeologyEditor.tsx +++ b/src/fragmentarium/ui/fragment/ArchaeologyEditor.tsx @@ -8,7 +8,6 @@ import { Findspot, SiteKey, excavationSites, - toFindspotDto, } from 'fragmentarium/domain/archaeology' import { Fragment } from 'fragmentarium/domain/fragment' import withData from 'http/withData' @@ -133,9 +132,7 @@ class ArchaeologyEditor extends Component { ..._.omitBy( { ...this.state, - findspot: this.state.findspot - ? toFindspotDto(this.state.findspot) - : null, + findspot: null, error: null, }, (value) => _.isNil(value) || value === ''