Skip to content

Commit

Permalink
feat: fix build release
Browse files Browse the repository at this point in the history
  • Loading branch information
naelob committed Nov 13, 2023
1 parent 19d5149 commit 27d200c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/frontend-snippet/src/hooks/useOAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const useOAuth = ({ providerName, returnUrl, projectId, linkedUserId, onSuccess
const top = (window.innerHeight - height) / 2;
window.open(authUrl, 'OAuth', `width=${width},height=${height},top=${top},left=${left}`);

// Call the onSuccess function here if needed, or after the OAuth flow is completed
onSuccess();
};

return { open: openModal, isReady };
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend-snippet/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": true
},
"include": ["src"],
Expand Down

0 comments on commit 27d200c

Please sign in to comment.