Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

type fix

Dave Earley60eb4dbd0947
diff --git a/frontend/src/components/common/AttendeeCheckInTable/QrScanner.tsx b/frontend/src/components/common/AttendeeCheckInTable/QrScanner.tsx
index 12f5fddbe..6e309ed29 100644
--- a/frontend/src/components/common/AttendeeCheckInTable/QrScanner.tsx
+++ b/frontend/src/components/common/AttendeeCheckInTable/QrScanner.tsx
@@ -8,7 +8,7 @@ import {showError} from "../../../utilites/notifications.tsx";
import {t, Trans} from "@lingui/macro";
interface QRScannerComponentProps {
- onCheckIn: (attendeePublicId: string, onRequestComplete: (didSucceed: bool) => void, onFailure: () => void) => void;
+ onCheckIn: (attendeePublicId: string, onRequestComplete: (didSucceed: boolean) => void, onFailure: () => void) => void;
onClose: () => void;
}
@@ -57,7 +57,6 @@ export const QRScannerComponent = (props: QRScannerComponentProps) => {
const alreadyScanned = latestProcessedAttendeeIds.includes(debouncedAttendeeId);
if (isScanSucceeded || isScanFailed) {
- // wait for the full succeed/fail outline transition to complete
return;
}
diff --git a/frontend/src/components/layouts/CheckIn/index.tsx b/frontend/src/components/layouts/CheckIn/index.tsx
index cad154968..ed3ce836c 100644
--- a/frontend/src/components/layouts/CheckIn/index.tsx
+++ b/frontend/src/components/layouts/CheckIn/index.tsx
@@ -100,7 +100,7 @@ const CheckIn = () => {
)
}
- const handleQrCheckIn = (attendeePublicId: string, onRequestComplete: (didSucceed: bool) => void, onFailure: () => void) => {
+ const handleQrCheckIn = (attendeePublicId: string, onRequestComplete: (didSucceed: boolean) => void, onFailure: () => void) => {
checkInMutation.mutate({
checkInListShortId: checkInListShortId,
attendeePublicId: attendeePublicId,
@@ -211,7 +211,6 @@ const CheckIn = () => {
/>)
}
-
if (checkInList?.is_expired) {
return (
<NoResultsSplash