Skip to content

Commit

Permalink
chore: remove extra console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Sep 9, 2024
1 parent 84bd870 commit c53001d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/data.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ export function fetchUser() {
if (!loadUserConfig().hub?.userToken && !process.env.NUXT_HUB_USER_TOKEN) {
return null
}
return $api('/user').catch((err) => {
console.log(err.data)
return $api('/user').catch(() => {
return null
})
}
Expand Down

0 comments on commit c53001d

Please sign in to comment.