diff --git a/examples/web/src/image/index.tsx b/examples/web/src/image/index.tsx index 493c8c4..9650c03 100644 --- a/examples/web/src/image/index.tsx +++ b/examples/web/src/image/index.tsx @@ -12,8 +12,6 @@ const ImageLoader = () => { const handleUpload = (e: any) => { const fileReader = new FileReader(); - const name = e.target.accept.includes('image') ? 'images' : 'videos'; - fileReader.readAsDataURL(e.target.files[0]); fileReader.onload = (e) => { const path = e.target?.result as string;