diff --git a/src/index.js b/src/index.js index 4699470dc..f72752db2 100644 --- a/src/index.js +++ b/src/index.js @@ -45,11 +45,13 @@ export default class ReactSVG extends PureComponent { } = this.props return ( - this._img = img} - className={className} - data-src={path} - /> +