Fix
This commit is contained in:
parent
139b56071a
commit
0d3a76c065
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ const isImageOrLivePhoto = (file: EnteFile) => {
|
|||
*/
|
||||
const createRenderableURL = async (castToken: string, file: EnteFile) => {
|
||||
const imageBlob = await renderableImageBlob(castToken, file);
|
||||
const resizedBlob = needsResize(file) ? await resize(imageBlob) : imageBlob;
|
||||
const resizedBlob = needsResize() ? await resize(imageBlob) : imageBlob;
|
||||
return URL.createObjectURL(resizedBlob);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue