1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

chaned input accept

This commit is contained in:
muerwre 2019-08-06 21:28:53 +07:00
parent d6764ca7fd
commit a8af9932bb

View file

@ -47,7 +47,7 @@ const ImageEditor: FC<IProps> = ({
onDrop={onDrop} onDrop={onDrop}
> >
<div>{data.type}</div> <div>{data.type}</div>
<input type="file" onChange={onInputChange} /> <input type="file" onChange={onInputChange} accept="image/*" />
</form> </form>
); );
}; };