Skip to content

Commit

Permalink
Merge pull request #2054 from maproulette/geojsonFix
Browse files Browse the repository at this point in the history
fix small form geojson issue
  • Loading branch information
AndrewPhilbin authored Jul 13, 2023
2 parents 07a3b2a + 2a26cb4 commit 5e1bad5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ export const DropzoneTextUpload = ({id, onChange, readonly, formContext, dropAre
disablePreview
onDrop={files => {
formContext[id] = {file: files[0]}
onChange(files[0])
onChange(files[0] ? files[0].name : files[0])
}}
>
{({acceptedFiles, getRootProps, getInputProps}) => {
Expand Down

0 comments on commit 5e1bad5

Please sign in to comment.