diff --git a/editor/pages/live/index.tsx b/editor/pages/live/index.tsx index 121ffa5b4..2c863d4be 100644 --- a/editor/pages/live/index.tsx +++ b/editor/pages/live/index.tsx @@ -118,7 +118,6 @@ function ResultProxyPage({ design }: { design: TargetNodeConfig }) { }, }).then((result) => { setResult(result); - setPreview(result); }); // ----- for preview ----- designToCode({ @@ -143,7 +142,7 @@ function ResultProxyPage({ design }: { design: TargetNodeConfig }) { } const { code, scaffold, name: componentName } = result; - + console.log("preview", preview); return (