Skip to content

🎥 Make videos programmatically with React

leave only one composition

Igor Samokhovets710a1d9a7aa3
diff --git a/packages/template-render-server/remotion/Root.tsx b/packages/template-render-server/remotion/Root.tsx
index c47baef9e5..8979403012 100644
--- a/packages/template-render-server/remotion/Root.tsx
+++ b/packages/template-render-server/remotion/Root.tsx
@@ -1,6 +1,5 @@
import { Composition } from "remotion";
import { HelloWorld, myCompSchema } from "./HelloWorld";
-import { Logo, myCompSchema2 } from "./HelloWorld/Logo";
// Each <Composition> is an entry in the sidebar!
@@ -20,27 +19,12 @@ export const RemotionRoot: React.FC = () => {
// https://www.remotion.dev/docs/parametrized-rendering
schema={myCompSchema}
defaultProps={{
- titleText: "Welcome to Remotion",
+ titleText: "Remotion Render Server Template",
titleColor: "#000000",
logoColor1: "#91EAE4",
logoColor2: "#86A8E7",
}}
/>
-
- {/* Mount any React component to make it show up in the sidebar and work on it individually! */}
- <Composition
- id="OnlyLogo"
- component={Logo}
- durationInFrames={150}
- fps={30}
- width={1920}
- height={1080}
- schema={myCompSchema2}
- defaultProps={{
- logoColor1: "#91dAE2" as const,
- logoColor2: "#86A8E7" as const,
- }}
- />
</>
);
};