There was an error while loading. Please reload this page.
1 parent e0cf459 commit b310ac8Copy full SHA for b310ac8
1 file changed
src/components/ProfileQR/index.tsx
@@ -21,7 +21,7 @@ export function CheckInModal({ opened, onClose }: CheckInModalProps) {
21
setLoading(true);
22
setError(null);
23
try {
24
- const t = await getToken();
+ const t = user?.email;
25
if (!t) throw new Error("Could not retrieve authentication token.");
26
setToken(t);
27
} catch (err) {
0 commit comments