Skip to content

Commit

Permalink
Upgraded to latest recogito-connections plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimon committed Sep 23, 2022
1 parent 587d458 commit dd8fa11
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"dependencies": {
"@recogito/annotorious": "^2.7.8",
"@recogito/recogito-connections": "^0.1.5",
"@recogito/recogito-connections": "^0.1.6",
"@recogito/recogito-js": "^1.8.0",
"pdfjs-dist": "2.9.359",
"react-icons": "^4.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/pdf/PDFViewer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const PDFViewer = props => {
// Load PDF on mount
useEffect(() => {
// Init after DOM load
setConnections(new Connections());
setConnections(new Connections([], { showLabels: true }));

PDFJS.getDocument(props.url).promise
.then(
Expand Down

0 comments on commit dd8fa11

Please sign in to comment.