Skip to content

🎥 Make videos programmatically with React

display remotion_projectName instead of remotion_projectPath

Kave McDaniel7eb6692c1c1f
diff --git a/packages/cli/src/editor/components/CurrentComposition.tsx b/packages/cli/src/editor/components/CurrentComposition.tsx
index f533277dc2..68390bd9ca 100644
--- a/packages/cli/src/editor/components/CurrentComposition.tsx
+++ b/packages/cli/src/editor/components/CurrentComposition.tsx
@@ -43,7 +43,7 @@ export const CurrentComposition = () => {
useEffect(() => {
window.document.title = `${video?.id || 'Composition'} - ${
- window.remotion_projectPath
+ window.remotion_projectName
} - Remotion Preview`;
}, [video]);