Skip to content

Commit 4c18982

Browse files
committed
Fix preview only error
1 parent 24a344e commit 4c18982

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/backend/src/html/htmlMain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ const convertNode = (settings: HTMLSettings) => async (node: SceneNode) => {
419419
case "LINE":
420420
return htmlLine(node, settings);
421421
case "VECTOR":
422-
if (!settings.embedVectors) {
422+
if (!settings.embedVectors && !isPreviewGlobal) {
423423
addWarning("Vector is not supported");
424424
}
425425
return await htmlContainer(

0 commit comments

Comments
 (0)