🎥 Make videos programmatically with React
Update Preview.tsx
Patric Salvisberg08c091d74fea
diff --git a/packages/cli/src/editor/components/Preview.tsx b/packages/cli/src/editor/components/Preview.tsxindex 00889709ac..cfc363dcd9 100644--- a/packages/cli/src/editor/components/Preview.tsx+++ b/packages/cli/src/editor/components/Preview.tsx@@ -18,7 +18,7 @@ type AssetResolution = {height: number;};-const style: React.CSSProperties = {+const jsonStyle: React.CSSProperties = {fontFamily: 'monospace',flex: 1,};@@ -127,7 +127,7 @@ const AssetComponent: React.FC<{currentAsset: string | null}> = ({onChange={() => {return null;}}- style={style}+ style={jsonStyle}/>);}