Skip to content

Commit

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

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

0 comments on commit 9e1ddea

Please sign in to comment.