Closed rparker2003 closed 5 months ago
Closes #61
Add following code into frontend/app/(tabs)/index.tsx at the top of the export function Index():
frontend/app/(tabs)/index.tsx
Index()
const { getToken } = useAuth(); useEffect(() => { (async () => { const token = await getToken(); console.log(token); })(); }, []);
You must also add the respective imports for the above code:
import { useAuth } from '@clerk/clerk-expo'; import { useEffect } from 'react';
Closes #61
Description / Changes Made
How to Test
Add following code into
frontend/app/(tabs)/index.tsx
at the top of the export functionIndex()
:You must also add the respective imports for the above code:
Checklist