Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

feat: added file upload button and zone #5

Merged
merged 1 commit into from
Nov 27, 2018
Merged

feat: added file upload button and zone #5

merged 1 commit into from
Nov 27, 2018

Conversation

ImmanuelSegol
Copy link
Contributor

No description provided.

Copy link
Member

@michael1011 michael1011 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I will take care of parsing the file when implementing the refund logic!

onDrop = e => {
e.preventDefault();
const files = e.dataTransfer.files;
window.alert(`Files dropped: ${files}`);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just printing Files dropped: [object FileList] which isn't meaningful

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@michael1011 Yeah it was just so you could see what it does. I will replace it with real functionality tomorrow.

@michael1011 michael1011 merged commit 6e5ffd1 into master Nov 27, 2018
@michael1011 michael1011 deleted the file-drop branch November 27, 2018 22:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants