Fixes after rebasing

This commit is contained in:
Erik Ziegler committed 2020-05-15 14:29:27 +02:00
1 parent 70b7158c9b
commit f3f50d11fe
105 files changed
+920 -3853

No files matched your search

+4 -1
View File
@@ -52,7 +52,10 @@ class DicomPDFViewport extends Component {
if (!this.props.useNative) {
const pdf = await PDFJS.getDocument(fileURL).promise;
this.setState(state => ({ ...state, pdf }), () => this.updatePDFCanvas());
this.setState(
state => ({ ...state, pdf }),
() => this.updatePDFCanvas()
);
}
}