diff --git a/package.json b/package.json index 663403b..7b648f0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-progressive-image-loading", - "version": "3.0.3", + "version": "3.0.4", "description": "Progressively load images using a blur effect. Edit", "main": "build/index.js", "typings": "build/index.d.ts", diff --git a/src/index.tsx b/src/index.tsx index 98f728e..7a48e66 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -32,7 +32,7 @@ export class ProgressiveImage extends React.Component !this.unmounted && this.setState({ src: srcDataURI, blur: 0 })); } - componentWillUnMount() { + componentWillUnmount() { this.unmounted = true; }