Skip to content

🎥 Make videos programmatically with React

fix: changed `Config.Preview` to `Config` in timeline

Mohit Yadavc0b8c124feac
diff --git a/packages/cli/src/editor/components/Timeline/MaxTimelineTracks.tsx b/packages/cli/src/editor/components/Timeline/MaxTimelineTracks.tsx
index dfbbf4e8f1..355dda6024 100644
--- a/packages/cli/src/editor/components/Timeline/MaxTimelineTracks.tsx
+++ b/packages/cli/src/editor/components/Timeline/MaxTimelineTracks.tsx
@@ -24,7 +24,7 @@ export const MaxTimelineTracksReached: React.FC = () => {
<div style={container}>
Limited display to {MAX_TIMELINE_TRACKS} tracks to sustain performance.
{''}
- You can change this by setting Config.Preview.setMaxTimelineTracks() in
+ You can change this by setting Config.setMaxTimelineTracks() in
your remotion.config.ts file.
</div>
);