Skip to content

Commit

Permalink
add: any
Browse files Browse the repository at this point in the history
  • Loading branch information
mint73 committed Apr 9, 2024
1 parent 96ecb82 commit 7fecdcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QRReader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const QRReader: React.FC<QRReaderProps> = (props) => {
video.current.play();

const canvas = new OffscreenCanvas(width, height);
const context = canvas.getContext('2d');
const context:any = canvas.getContext('2d');

if (!timerId.current) {
timerId.current = setInterval(() => {
Expand Down

0 comments on commit 7fecdcb

Please sign in to comment.