Skip to content

Commit

Permalink
updates for 1.15.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
matteobruni committed May 27, 2020
1 parent c646529 commit f006835
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Particles.tsx
Expand Up @@ -52,13 +52,14 @@ export default class Particles extends Component<ParticlesProps,
} catch {
return null;
} // SSR

tsParticles.init();

const options = new Options();

options.load(defaultParams);
options.load(params);

tsParticles.init();

const container = new Container(tagId, options);

if (this.props.particlesRef) {
Expand Down

0 comments on commit f006835

Please sign in to comment.