Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
shihjay2 committed Aug 9, 2024
1 parent dd0f1ec commit 9d4016c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/magicLink/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default function Login({ challenge, clinical=false, authonly=false, clien
const [email, setEmailValue] = useState("");
const [clientExist, setClientExist] = useState(false);

console.log(locations)
useEffect(() => {
const checkAvailability = async () => {
const available =
Expand Down
1 change: 1 addition & 0 deletions pages/interact/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export default function Interact({ challenge }: { challenge: string }) {
}
if (objectPath.has(isInstance, 'access_token.locations')) {
setLocations(isInstance.access_token.locations)
console.log(locations)
}
}
if (isInstance.error) {
Expand Down

0 comments on commit 9d4016c

Please sign in to comment.