Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
rubelux committed Oct 30, 2023
1 parent 593c888 commit 2e3fc58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Layout/Header/AccountButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ const AccountButton = ({ active, ...props }: SimpleComponentProps & { active: bo

console.log('isConnected ', isConnected)
console.log('ready && authenticated ', ready && authenticated)
console.log('privy user ', user)
console.log('loggedInUser', loggedInUser)

useEffect(() => {
const timer1 = setTimeout(() => {
Expand All @@ -51,7 +53,7 @@ const AccountButton = ({ active, ...props }: SimpleComponentProps & { active: bo
setLoading(false)
},
onError: error => {
console.log('onError ', error)
console.log('onError loading user:::', error)
if (error.message === 'Error: Could not verify JWT: JWTExpired') {
disconnectAndSignout()
}
Expand Down

0 comments on commit 2e3fc58

Please sign in to comment.