From 79093c747f727851c8239b6911c6513c5edb43ec Mon Sep 17 00:00:00 2001 From: Falujo Adeyemi Date: Mon, 27 Jul 2026 20:52:10 +0000 Subject: [PATCH] feat: Fix undefined scanner handlers and state in MobileNavigation --- src/components/mobile/MobileNavigation.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/mobile/MobileNavigation.tsx b/src/components/mobile/MobileNavigation.tsx index e0e04361..6cb03ee5 100644 --- a/src/components/mobile/MobileNavigation.tsx +++ b/src/components/mobile/MobileNavigation.tsx @@ -49,6 +49,10 @@ export const MobileNavigation: React.FC<{ const [activeTab, setActiveTab] = useState(initialActive); const [isFloating, setIsFloating] = useState(false); const [isLandscape, setIsLandscape] = useState(false); + const [isScannerOpen, setIsScannerOpen] = useState(false); + + const openScanner = () => setIsScannerOpen(true); + const closeScanner = () => setIsScannerOpen(false); useEffect(() => { const handleResize = () => {