From eb100e43a6f83d21591452940d43cd17fa7e54b4 Mon Sep 17 00:00:00 2001 From: Shiva Date: Fri, 28 Jun 2024 17:51:33 +0530 Subject: [PATCH] INJIVER-329 Remove flash icon appearing on the scanner Signed-off-by: Shiva --- .../src/components/Home/VerificationSection/QrScanner.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inji-verify/src/components/Home/VerificationSection/QrScanner.tsx b/inji-verify/src/components/Home/VerificationSection/QrScanner.tsx index 5b321977..be8389a4 100644 --- a/inji-verify/src/components/Home/VerificationSection/QrScanner.tsx +++ b/inji-verify/src/components/Home/VerificationSection/QrScanner.tsx @@ -60,6 +60,9 @@ function QrScanner() { clearTimeout(timer); setIsCameraBlocked(true); }} + components={{ + torch: false + }} options={{ constraints: { "width": {