Skip to content

Commit

Permalink
chore: comment (#1756)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKheops authored Dec 17, 2024
1 parent 6428580 commit 2fc744b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/extension/src/ui/domains/Sign/Qr/ScanQr.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ const Scanner = ({
if (!codeReader) return
if (!preview.current) return

// @dev: in dev mode, because of React.StrictMode, the stream wont be closed properly on unmount
const aborted = new AbortController()
let abortedSignalSet = false
codeReader
Expand Down

0 comments on commit 2fc744b

Please sign in to comment.