Skip to content

Commit

Permalink
fix: partial rollback
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Oct 30, 2024
1 parent ab5aa17 commit 36c21d7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Components/PdfEditor/PdfEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@
</template>

<script>
// eslint-disable-next-line import/default
import VuePdfEditor from '@libresign/vue-pdf-editor'
import { GlobalWorkerOptions } from 'pdfjs-dist'
import pdfWorkerCode from 'pdfjs-dist/legacy/build/pdf.worker.min.mjs'
import Signature from './Signature.vue'
Expand All @@ -56,9 +55,6 @@ export default {
default: false,
},
},
async mounted() {
GlobalWorkerOptions.workerSrc = pdfWorkerCode
},
methods: {
endInit(event) {
this.$emit('pdf-editor:end-init', { ...event })
Expand Down

0 comments on commit 36c21d7

Please sign in to comment.