Skip to content

Commit

Permalink
Added creating uri in on file picked
Browse files Browse the repository at this point in the history
  • Loading branch information
alitoshmatov committed Jul 14, 2023
1 parent 2722481 commit d687857
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/AttachmentPicker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function AttachmentPicker(props) {
const file = e.target.files[0];

if (file) {
file.uri = URL.createObjectURL(file);
onPicked.current(file);
}

Expand Down

0 comments on commit d687857

Please sign in to comment.