diff --git a/src/base/users/View.svelte b/src/base/users/View.svelte index abc0d22ca..4a5cecac4 100644 --- a/src/base/users/View.svelte +++ b/src/base/users/View.svelte @@ -1,25 +1,49 @@ @@ -60,34 +84,52 @@ } -{#if loading} +{#if state.status === Status.Loading} -{:else} +{:else if state.status === Status.Failed} + navigate('/')}> + {state.error} + +{:else if state.status === Status.NotFound} + + + {address} + + + + The address {address} is not registered. + + + + Back to home → + + +{:else if state.status === Status.Found} - + - + - {#if registration} - {#if registration.url} - {registration.url} + {#if state.registration} + {#if state.registration.url} + {state.registration.url} {/if} - {#if registration.twitter} - + {#if state.registration.twitter} + {/if} - {#if registration.github} - + {#if state.registration.github} + {/if} {/if} - + {/if} \ No newline at end of file
The address {address} is not registered.