Skip to content

Commit

Permalink
was not compiling properly
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyvelichkin committed Mar 17, 2022
1 parent bff4378 commit 60eba30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/drivers/pdf-viewer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

import React from 'react';
import VisibilitySensor from 'react-visibility-sensor';
import { PDFJS } from 'pdfjs-dist/build/pdf.combined';
import 'pdfjs-dist/web/compatibility';
import * as PDFJS from 'pdfjs-dist/legacy/build/pdf';

PDFJS.disableWorker = true;
const INCREASE_PERCENTAGE = 0.2;
Expand Down

0 comments on commit 60eba30

Please sign in to comment.