fixed typo that made all images square when reset

This commit is contained in:
Martina 2020-11-17 12:37:45 -08:00
parent dcfa36fafa
commit b1e786daad

View File

@ -57,7 +57,7 @@ const generateLayout = (items) => {
const preload = (item) =>
new Promise((resolve, reject) => {
if (!item.type || !Validations.isPreviewableImage(this.props.type)) {
if (!item.type || !Validations.isPreviewableImage(item.type)) {
resolve(200);
}
const img = new Image();