diff --git a/src/ui/elements/QRScanner.tsx b/src/ui/elements/QRScanner.tsx index 2873ae2..9bc8aec 100644 --- a/src/ui/elements/QRScanner.tsx +++ b/src/ui/elements/QRScanner.tsx @@ -1,11 +1,3 @@ -/* eslint-disable import/no-unresolved */ -/* eslint-disable @typescript-eslint/no-unsafe-argument */ -// @ts-ignore -import qrScannerWorkerSource from "!!raw-loader!qr-scanner/qr-scanner-worker.min.js"; -QrScanner.WORKER_PATH = URL.createObjectURL(new Blob([qrScannerWorkerSource])); -// end ignore -/* eslint-enable */ - import { Component, JSX, createRef } from "preact"; import { Margin } from "./Margin"; import QrScanner from "qr-scanner";