Skip to content

Commit

Permalink
add console.error for protectedRoute (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssb-jnk authored Mar 8, 2024
1 parent f98600b commit a61c2ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ProtectedRoute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const ProtectedRoute = () => {
setIsAuthenticated(true)
} catch (error) {
console.error('Error occurred when updating userProfile data')
console.error(error)
}
}
setData()
Expand Down

0 comments on commit a61c2ae

Please sign in to comment.