diff --git a/packages/typst.angular/projects/typst.angular/src/lib/typst.document.component.ts b/packages/typst.angular/projects/typst.angular/src/lib/typst.document.component.ts index 9cd2c232..99a66b51 100644 --- a/packages/typst.angular/projects/typst.angular/src/lib/typst.document.component.ts +++ b/packages/typst.angular/projects/typst.angular/src/lib/typst.document.component.ts @@ -32,9 +32,6 @@ export class TypstDocumentComponent { const displayDiv = this.typst_app?.nativeElement; if (this.artifact?.length) { const doRender = (renderer: typst.TypstRenderer) => { - if (this.format === 'vector') { - throw new Error('not implemented'); - } renderer.render({ artifactContent: this.artifact, format: 'vector',