Skip to content

Commit c48cd47

Browse files
Update Glitch.tsx
1 parent 2e9a8d4 commit c48cd47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/effects/Glitch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const Glitch = forwardRef<GlitchEffect, GlitchProps>(function Glitch(
2525
const chromaticAberrationOffset = useVector2(props, 'chromaticAberrationOffset')
2626
const effect = useMemo(
2727
() => new GlitchEffect({ ...props, delay, duration, strength, chromaticAberrationOffset }),
28-
[delay, duration, props, strength]
28+
[delay, duration, props, strength, chromaticAberrationOffset]
2929
)
3030
useLayoutEffect(() => {
3131
effect.mode = active ? props.mode || GlitchMode.SPORADIC : GlitchMode.DISABLED

0 commit comments

Comments
 (0)