diff --git a/app.vue b/app.vue index 8b0f00e2..11d68d1e 100644 --- a/app.vue +++ b/app.vue @@ -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 } } }