removed useMemo
Browse files
Remotion-app/src/HelloWorld/ImageStream.jsx
CHANGED
@@ -46,7 +46,7 @@ const ImageStream = React.memo(() => {
|
|
46 |
const Images = ({entry, index}) => {
|
47 |
const plugins = useMemo(() => [MotionPathPlugin], []);
|
48 |
|
49 |
-
const gsapTimeline =
|
50 |
let tlContainer = gsap.timeline();
|
51 |
// tlContainer.fromTo(
|
52 |
// '#gaussianBlur',
|
@@ -73,7 +73,7 @@ const Images = ({entry, index}) => {
|
|
73 |
});
|
74 |
|
75 |
return tlContainer;
|
76 |
-
}
|
77 |
|
78 |
return (
|
79 |
<>
|
|
|
46 |
const Images = ({entry, index}) => {
|
47 |
const plugins = useMemo(() => [MotionPathPlugin], []);
|
48 |
|
49 |
+
const gsapTimeline = () => {
|
50 |
let tlContainer = gsap.timeline();
|
51 |
// tlContainer.fromTo(
|
52 |
// '#gaussianBlur',
|
|
|
73 |
});
|
74 |
|
75 |
return tlContainer;
|
76 |
+
};
|
77 |
|
78 |
return (
|
79 |
<>
|