From 87df9a111280ff348eb93b059b0ec0be5bfcb1ab Mon Sep 17 00:00:00 2001 From: Aryan-Bahl Date: Thu, 12 Sep 2024 23:58:01 -0500 Subject: [PATCH 1/2] admin scanner fixes --- Components/EventDropdown.tsx | 2 +- screens/AdminScanner.tsx | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Components/EventDropdown.tsx b/Components/EventDropdown.tsx index 78cfc27..1aa68f4 100644 --- a/Components/EventDropdown.tsx +++ b/Components/EventDropdown.tsx @@ -24,7 +24,7 @@ const EventDropdown: React.FC = ({ token, onEventSelect }) = const eventData = await getEvents(token); setEvents([{ eventId: 'checkin', - name: 'checkin' + name: 'Check In' }, ...eventData]); } catch (error) { console.error('Error fetching events:', error); diff --git a/screens/AdminScanner.tsx b/screens/AdminScanner.tsx index 88c2a0f..b1bbf1c 100644 --- a/screens/AdminScanner.tsx +++ b/screens/AdminScanner.tsx @@ -67,10 +67,8 @@ const AdminScanner: React.FC = () => { Scanned! ) : ( - setScanned(true)} - > - Tap to Scan Again + + Ready to Scan Again ) } From 2bc9e47729c36612f3594e9c8b28f105a5d87bfe Mon Sep 17 00:00:00 2001 From: Aryan-Bahl Date: Fri, 13 Sep 2024 00:02:02 -0500 Subject: [PATCH 2/2] package update --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9f95249..3dc8911 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rp-mobile-2024", - "version": "1.5.1", + "version": "1.5.2", "main": "node_modules/expo/AppEntry.js", "scripts": { "start": "expo start",