Overview
In src/components/mobile/MobileNavigation.tsx the Scan button and scanner reference openScanner (line 187), isScannerOpen, and closeScanner (line 195) which are never declared in the component, so the scanner cannot open and the code fails type-check/runtime. Declare the scanner state and handlers.
Overview
In src/components/mobile/MobileNavigation.tsx the Scan button and scanner reference openScanner (line 187), isScannerOpen, and closeScanner (line 195) which are never declared in the component, so the scanner cannot open and the code fails type-check/runtime. Declare the scanner state and handlers.