From 28c7d06dfd76ec5e927282fc6448589ce20cdaab Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Tue, 14 Nov 2017 19:28:25 +0100 Subject: [PATCH] import max image size --- src/utils/imageUtils.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/utils/imageUtils.js b/src/utils/imageUtils.js index b7e507e..a03ef8c 100644 --- a/src/utils/imageUtils.js +++ b/src/utils/imageUtils.js @@ -1,6 +1,4 @@ -// import { MAX_IMAGE_SIZE } from '../js/constants/d2Constants.js'; - -const MAX_IMAGE_SIZE = 100; +import { MAX_IMAGE_SIZE } from '../constants/d2Constants.js'; export function prepareImage(image) { let { width, height } = image;