Skip to content

Commit

Permalink
fix: sucessfile on submit protected area shapefile
Browse files Browse the repository at this point in the history
  • Loading branch information
anamontiaga committed Nov 2, 2021
1 parent c949b81 commit c7c8df6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ export const PlanningAreaGridUploader: React.FC<PlanningAreaGridUploaderProps> =

const { uploadingPlanningArea } = useSelector((state) => state['/projects/new']);

console.log('uploadingPlanningArea', uploadingPlanningArea);

const onDropAccepted = async (acceptedFiles) => {
const f = acceptedFiles[0];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export const PlanningAreUploader: React.FC<PlanningAreUploaderProps> = ({
onClose={() => setOpened(false)}
>
<Form
onSubmit={successFile && onUploadSubmit}
onSubmit={onUploadSubmit}
render={({ handleSubmit }) => {
return (
<form onSubmit={handleSubmit}>
Expand Down

0 comments on commit c7c8df6

Please sign in to comment.