tsparticles / react

React tsParticles official component
https://particles.js.org
MIT License
361 stars 25 forks source link

`console.dir` is left in code #35

Closed danhalis closed 12 months ago

danhalis commented 1 year ago

Issue

I noticed that the library is logging information about Particles component to the browser console image

This is the line that causes the console logging (in node_modules/react-particles/particles.js) image

These are the packages that I installed:

"react-particles": "^2.10.1",
"tsparticles": "^2.10.1",

I used the example code from here: https://github.com/tsparticles/react#typescript-support---object

Attempt to fix

I tried to uninstall and reinstall the package:

 npm uninstall react-particles
 npm install react-particles

but that line of code still remains in the downloaded code in node_modules.

matteobruni commented 1 year ago

It's a known issue (ref https://github.com/matteobruni/tsparticles/issues/5003) and it will be fixed soon, Lerna update to v7 had some issues and I couldn't build the project

matteobruni commented 12 months ago

Published update with the fix