From 2fc744b1df8c651e7ab4ae791c292891e0e71d72 Mon Sep 17 00:00:00 2001 From: Kheops <26880866+0xKheops@users.noreply.github.com> Date: Tue, 17 Dec 2024 12:38:45 +0900 Subject: [PATCH] chore: comment (#1756) --- apps/extension/src/ui/domains/Sign/Qr/ScanQr.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/extension/src/ui/domains/Sign/Qr/ScanQr.tsx b/apps/extension/src/ui/domains/Sign/Qr/ScanQr.tsx index 1373b9f393..d3f64764cb 100644 --- a/apps/extension/src/ui/domains/Sign/Qr/ScanQr.tsx +++ b/apps/extension/src/ui/domains/Sign/Qr/ScanQr.tsx @@ -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