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