Skip to content

Commit

Permalink
Fix import statement in PdfViewer.vue
Browse files Browse the repository at this point in the history
The import statement for TextLayerBuilder in PdfViewer.vue was incorrect. Fixed the import statement to use the correct path.
  • Loading branch information
t29mato committed May 14, 2024
1 parent 3262850 commit f0939bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streamlit_pdf_viewer/frontend/src/PdfViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { onMounted, onUpdated, computed, ref} from "vue";
import "pdfjs-dist/build/pdf.worker.entry";
import {getDocument} from "pdfjs-dist/build/pdf";
import {Streamlit} from "streamlit-component-lib";
import { TextLayerBuilder } from "pdfjs-dist/types/web/text_layer_builder"
import { TextLayerBuilder } from "pdfjs-dist/web/pdf_viewer"
export default {
props: ["args"],
Expand Down

0 comments on commit f0939bb

Please sign in to comment.