Skip to content
Snippets Groups Projects
Commit 1f259867 authored by chris's avatar chris
Browse files

only accept images

parent 5bf93a00
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,7 @@ const ImageUpload = ({ item, fileUpload, view }) => {
/>
<input
accept="image/*"
id="file-upload"
onChange={e => {
fileUpload(e.target.files[0]);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment