Skip to content

Commit e695ac2

Browse files
committed
build: loaded missing plugins
1 parent c01d23a commit e695ac2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/react/src/components/particles-container.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import * as React from 'react';
22
import Particles from 'react-particles';
33
import type { Container, Engine, IOptions, RecursivePartial } from "tsparticles-engine";
44
import { loadFull } from "tsparticles";
5+
import { loadPolygonMaskPlugin } from "tsparticles-plugin-polygon-mask";
56

67
interface IProps {
78
options: RecursivePartial<IOptions>;
@@ -17,6 +18,7 @@ export class ParticlesContainer extends React.PureComponent<IProps> {
1718

1819
async particlesInit(engine: Engine): Promise<void> {
1920
await loadFull(engine);
21+
await loadPolygonMaskPlugin(engine);
2022
}
2123

2224
async particlesLoaded(container?: Container): Promise<void> {

0 commit comments

Comments
 (0)