Skip to content

Commit

Permalink
removed log
Browse files Browse the repository at this point in the history
  • Loading branch information
wderocco8 committed Sep 4, 2024
1 parent 0334194 commit 7e421f4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/contexts/AuthContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ export const AuthProvider: React.FC<{ children: ReactNode }> = ({ children }) =>
if (session) {
// Use type assertion to add the 'token' property
const sessionWithToken = session as CustomSession;

console.log("session", sessionWithToken, sessionWithToken.token?.isNewUser);

// Check if user is a newUser
if (sessionWithToken && sessionWithToken.token?.isNewUser === undefined || sessionWithToken.token?.isNewUser) {
Expand Down

0 comments on commit 7e421f4

Please sign in to comment.