Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Fix 404
Browse files Browse the repository at this point in the history
  • Loading branch information
dzbo committed Nov 2, 2023
1 parent 8a65ed3 commit 5ae984c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,15 @@ const setupViewedProfile = async () => {
if (isAddress(profileAddress)) {
await fetchProfile(profileAddress)
await fetchAssets(profileAddress)
} else {
navigateTo(notFoundRoute())
}
}
} catch (error: unknown) {
console.error(error)
if (error instanceof EoAError) {
navigateTo(notFoundRoute())
navigateTo(notFoundRoute()) // TODO we might want to inform user about EoA instead showing 404
}
}
}
Expand Down

0 comments on commit 5ae984c

Please sign in to comment.