From 9b360292971ca1b166933e2ec332ccf26c4a3d0d Mon Sep 17 00:00:00 2001 From: sajad ghobadi Date: Thu, 15 Oct 2020 21:33:45 +0330 Subject: [PATCH] Update Image.jsx fix load base64 image in src --- src/lib/components/Image.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/Image.jsx b/src/lib/components/Image.jsx index fb680c2..bcb36f4 100644 --- a/src/lib/components/Image.jsx +++ b/src/lib/components/Image.jsx @@ -227,7 +227,7 @@ export default class ImageContent extends React.Component { render() { let [props, state] = [this.props, this.state]; - let background = `url(${props.src})`; + let background = `url('${props.src}')`; let modifiers, loader; if(props.showImageModifiers) { modifiers = (