tommy24 commited on
Commit
01b2dd2
·
verified ·
1 Parent(s): 0cb8869

Update remotion/src/index.tsx

Browse files
Files changed (1) hide show
  1. remotion/src/index.tsx +4 -1
remotion/src/index.tsx CHANGED
@@ -38,8 +38,11 @@ export const RemotionRoot: React.FC = () => {
38
  fps={30}
39
  width={1920}
40
  height={1080}
41
- script={videoScript} // PASS DIRECTLY
 
 
42
  />
 
43
  </>
44
  );
45
  };
 
38
  fps={30}
39
  width={1920}
40
  height={1080}
41
+ defaultProps={{
42
+ script: videoScript,
43
+ }}
44
  />
45
+
46
  </>
47
  );
48
  };