Skip to content

Commit 1e76787

Browse files
authored
fix bug with gradients (#613)
1 parent 5b0a219 commit 1e76787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export const transformBgImage = ({
104104
bgImageStyle,
105105
bgGradient
106106
}) => {
107-
if (!bgImage) {
107+
if (!bgImage && !bgImageStyle && !bgGradient) {
108108
return;
109109
}
110110

0 commit comments

Comments
 (0)