remove resize on frontend
This commit is contained in:
parent
10fb00311f
commit
1c2e7fa559
@ -61,13 +61,7 @@ function App() {
|
|||||||
>
|
>
|
||||||
<FileSelect
|
<FileSelect
|
||||||
onSelection={async f => {
|
onSelection={async f => {
|
||||||
const {
|
setFile(f)
|
||||||
file: resizedFile,
|
|
||||||
resized,
|
|
||||||
originalWidth,
|
|
||||||
originalHeight,
|
|
||||||
} = await resizeImageFile(f, 1024)
|
|
||||||
setFile(resizedFile)
|
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user