Skip to content

Commit 67b3efa

Browse files
committed
Fix
1 parent 1282e46 commit 67b3efa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

web/pages/_app.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,8 @@ function MyApp({Component, pageProps}: AppProps<PageProps>) {
6666

6767
useEffect(() => {
6868
async function oauthRedirect(event: any) {
69-
console.log('Received oauthRedirect event');
70-
console.log('Received oauthRedirect event:', event.detail);
71-
const detail = typeof event.detail === 'string' ? JSON.parse(event.detail) : event.detail
69+
console.log('Received oauthRedirect event:', event);
70+
const detail = event
7271
console.log('OAuth data:', detail);
7372
const url = new URL(detail);
7473

0 commit comments

Comments
 (0)