diff --git a/src/ParticleGenerator.ts b/src/ParticleGenerator.ts index 7d36848..8743c38 100644 --- a/src/ParticleGenerator.ts +++ b/src/ParticleGenerator.ts @@ -3,8 +3,6 @@ import { IRect } from './Rect' import Particle from './Particle' import { randomRange } from './utils' -import { number } from 'prop-types'; - export interface IParticleGenerator extends IRect { removeParticleAt: (index: number) => void getParticle: () => void @@ -69,7 +67,6 @@ export default class ParticleGenerator implements IParticleGenerator { const now = Date.now() - // Initial population if(activeCount < numberOfPieces) { // Use the numberOfPieces prop as a key to reset the easing timing