Skip to content

Commit

Permalink
Merge pull request #7 from tinacms/kldavis4/fix/fix_authenticate
Browse files Browse the repository at this point in the history
fix: return promise that never resolves from authenticate
  • Loading branch information
jeffsee55 authored Aug 17, 2023
2 parents 72f7deb + 8f42300 commit 57a5e2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tina/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ if (!isLocal) {
},
},
});
return new Promise(() => {
// This promise never resolves because Clerk redirects to
// the redirectUrl above
})
},
getUser: async () => {
await clerk.load();
Expand Down

0 comments on commit 57a5e2d

Please sign in to comment.