Skip to content

Commit 2e9a8d4

Browse files
Update src/effects/Glitch.tsx
Co-authored-by: njm222 <[email protected]>
1 parent 61c2525 commit 2e9a8d4

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
@@ -24,7 +24,7 @@ export const Glitch = forwardRef<GlitchEffect, GlitchProps>(function Glitch(
2424
const strength = useVector2(props, 'strength')
2525
const chromaticAberrationOffset = useVector2(props, 'chromaticAberrationOffset')
2626
const effect = useMemo(
27-
() => new GlitchEffect({ ...props, delay, duration, strength, chromaticAberrationOffset: new Vector2() }),
27+
() => new GlitchEffect({ ...props, delay, duration, strength, chromaticAberrationOffset }),
2828
[delay, duration, props, strength]
2929
)
3030
useLayoutEffect(() => {

0 commit comments

Comments
 (0)