Skip to content

Commit b310ac8

Browse files
committed
fixed qr code
1 parent e0cf459 commit b310ac8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/ProfileQR/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function CheckInModal({ opened, onClose }: CheckInModalProps) {
2121
setLoading(true);
2222
setError(null);
2323
try {
24-
const t = await getToken();
24+
const t = user?.email;
2525
if (!t) throw new Error("Could not retrieve authentication token.");
2626
setToken(t);
2727
} catch (err) {

0 commit comments

Comments
 (0)