Skip to content

Commit

Permalink
feat(happ-hosting-plan): remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszRybczonek committed Nov 22, 2023
1 parent c36b822 commit 0fb994e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/PrimaryLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ onMounted(async () => {
try {
await userStore.getUser()
console.log('nickname in try', userStore.holoFuel.nickname)
} catch (e) {
localStorage.removeItem(kAuthTokenLSKey)
await router.push({ name: kRoutes.login.name })
Expand All @@ -83,11 +82,7 @@ onMounted(async () => {
isLoading.value = false
}
console.log('nickname outside try', userStore.holoFuel.nickname)
await nextTick(() => {
console.log('nickname outside try - nextTick', userStore.holoFuel.nickname)
if (!userStore.holoFuel.nickname) {
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
showModal(EModal.welcome)
Expand Down

0 comments on commit 0fb994e

Please sign in to comment.