Skip to content

Commit

Permalink
Merge pull request #6 from Wufe/master
Browse files Browse the repository at this point in the history
merge from main
  • Loading branch information
matteobruni committed May 22, 2020
2 parents 091c313 + fc6c002 commit ce0da9d
Show file tree
Hide file tree
Showing 3 changed files with 347 additions and 240 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "react-particles-js",
"version": "3.3.0",
"version": "3.3.0-beta.1",
"description": "Reactified particles.js",
"main": "index.js",
"unpkg": "umd/particles.js",
Expand Down
2 changes: 1 addition & 1 deletion src/Particles.tsx
Expand Up @@ -105,7 +105,7 @@ export default class Particles extends Component<ParticlesProps,
}

shouldComponentUpdate(nextProps: Readonly<ParticlesProps>) {
return !this.state.library || !isEqual(nextProps, this.props);
return !isEqual(nextProps, this.props);
}

componentDidUpdate() {
Expand Down

0 comments on commit ce0da9d

Please sign in to comment.