File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/routes/$chainSlug/_layout/address Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -121,14 +121,19 @@ function AddressRoute() {
121121 }
122122
123123 if ( isError && error instanceof NotFoundError ) {
124- return < ErrorAlert className = "my-16" message = "Address not found." /> ;
124+ return (
125+ < ErrorAlert className = "my-16" message = "No data found for this address." />
126+ ) ;
125127 }
126128
127129 return (
128130 < div className = "mt-8 flex flex-col gap-6" >
129131 < SearcherBar className = "py-6" />
130132
131133 < div className = "space-y-2" >
134+ { isError && error instanceof NotFoundError ? (
135+ < ErrorAlert message = "Address not found." />
136+ ) : null }
132137 < h1 className = "flex items-center gap-2 font-sans text-2xl font-extrabold" >
133138 < AddressIcon size = { 24 } />
134139 Address details
You can’t perform that action at this time.
0 commit comments