remove resize on frontend

This commit is contained in:
Qing 2021-11-27 15:00:49 +08:00 committed by Sanster
parent 10fb00311f
commit 1c2e7fa559

View File

@ -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>