Skip to content

Commit 186149c

Browse files
author
nik
committed
fmt
1 parent cea7e94 commit 186149c

File tree

1 file changed

+4
-5
lines changed
  • web/libs/editor/src/tags/object

1 file changed

+4
-5
lines changed

web/libs/editor/src/tags/object/Pdf.jsx

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import { inject, observer } from "mobx-react";
2-
import { flow, getEnv, types } from "mobx-state-tree";
2+
import { flow, types } from "mobx-state-tree";
33

44
import Registry from "../../core/Registry";
5-
import { errorBuilder } from "../../core/DataValidator/ConfigValidator";
65
import { AnnotationMixin } from "../../mixins/AnnotationMixin";
76
import ProcessAttrsMixin from "../../mixins/ProcessAttrs";
87
import Base from "./Base";
9-
import { parseTypeAndOption, parseValue } from "../../utils/data";
8+
import { parseValue } from "../../utils/data";
109

1110
/**
1211
* The `Pdf` tag is used to display a PDF document from a URL.
@@ -45,10 +44,10 @@ const HtxPdf = inject("store")(
4544
allowFullScreen
4645
/>
4746
);
48-
})
47+
}),
4948
);
5049

5150
Registry.addTag("pdf", PdfModel, HtxPdf);
5251
Registry.addObjectType(PdfModel);
5352

54-
export { HtxPdf, PdfModel };
53+
export { HtxPdf, PdfModel };

0 commit comments

Comments
 (0)