From 4ee0e4830eeeb83a18bd28ddfa351fa3ff724021 Mon Sep 17 00:00:00 2001 From: ebrillhart Date: Wed, 7 Nov 2018 11:18:21 -0800 Subject: [PATCH] fix bug with gradients --- src/utils/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/base.js b/src/utils/base.js index 191fd5b90..b4d107a4f 100644 --- a/src/utils/base.js +++ b/src/utils/base.js @@ -104,7 +104,7 @@ export const transformBgImage = ({ bgImageStyle, bgGradient }) => { - if (!bgImage) { + if (!bgImage && !bgImageStyle && !bgGradient) { return; }