Skip to content

🎥 Make videos programmatically with React

Update LightLeak.tsx

JonnyBurger03842e0b4239
diff --git a/packages/light-leaks/src/LightLeak.tsx b/packages/light-leaks/src/LightLeak.tsx
index b9d1a4ef30..a7d47c6ddd 100644
--- a/packages/light-leaks/src/LightLeak.tsx
+++ b/packages/light-leaks/src/LightLeak.tsx
@@ -299,7 +299,7 @@ export const LightLeak: React.FC<LightLeakProps> = ({
const mergedStyle = useMemo(() => {
return {
...style,
- opacity: opacity as number,
+ opacity,
};
}, [style, opacity]);