Skip to content

Commit

Permalink
fix: fix error loading zip with load button
Browse files Browse the repository at this point in the history
closes #70
  • Loading branch information
juancarlosfarah committed May 5, 2019
1 parent 88b244b commit 4a634d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/LoadSpace.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class LoadSpace extends Component {
};

handleFileLocation = event => {
const fileLocation = event.target.value;
const fileLocation = event.target ? event.target.value : event;
this.setState({ fileLocation });
};

Expand Down

0 comments on commit 4a634d0

Please sign in to comment.