Skip to content

Commit 1f725b8

Browse files
fix: return last plugin response
1 parent 286935c commit 1f725b8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/html/src/utils/render.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,7 @@ export async function render(element: HTMLImageElement | HTMLVideoElement, plugi
1919
break;
2020
}
2121
}
22-
return response
22+
if (response !== 'canceled') {
23+
return response;
24+
}
2325
}

0 commit comments

Comments
 (0)