Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zackify committed Mar 5, 2021
1 parent dfd6790 commit d711e02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const MyComponent = () => {
type="file"
onChange={(e) => {
if (e.target.files) {
upload({ file: e.target.files[0] });
upload({ files: e.target.files });
}
}}
/>
Expand Down Expand Up @@ -102,7 +102,7 @@ const MyComponent = () => {
type="file"
onChange={(e) => {
if (e.target.files) {
upload({ file: e.target.files[0] });
upload({ files: e.target.files });
}
}}
/>
Expand Down Expand Up @@ -138,7 +138,7 @@ const MyComponent = () => {
type="file"
onChange={(e) => {
if (e.target.files) {
upload({ file: e.target.files[0] });
upload({ files: e.target.files });
}
}}
/>
Expand Down Expand Up @@ -190,7 +190,7 @@ const MyComponent = () => {
type="file"
onChange={(e) => {
if (e.target.files) {
upload({ file: e.target.files[0] });
upload({ files: e.target.files });
}
}}
/>
Expand Down

0 comments on commit d711e02

Please sign in to comment.