Skip to content

Commit

Permalink
Revert "test fix"
Browse files Browse the repository at this point in the history
This reverts commit 9e1ddea.
  • Loading branch information
Badbird5907 committed Feb 23, 2024
1 parent 9e1ddea commit e192adc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/particles.tsx
Expand Up @@ -17,12 +17,11 @@ export default function Particles() {
}
*/
// const [init, setInit] = useState(false);
const init = true;
const [init, setInit] = useState(false);
useEffect(() => {
initParticlesEngine(async (engine) => {
await loadSlim(engine);
}); // .then(() => setInit(true));
}).then(() => setInit(true));
}, []);

const options = useMemo(() => {
Expand Down

0 comments on commit e192adc

Please sign in to comment.