mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-23 22:12:19 +03:00
fixed typo that made all images square when reset
This commit is contained in:
parent
dcfa36fafa
commit
b1e786daad
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user