Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
View registration when done
Alexis Sellier committed 5 years ago
commit 890a02815360273225b3a5d7e719770e7dd2411d
parent c430c753629825430e1cdeeb06eaf336061dba45
1 file changed +3 -1
modified src/base/register/steps/Submit.svelte
@@ -25,6 +25,8 @@
    return ethers.utils.formatUnits(fee);
  }

+
  const done = () => navigate(`/registrations/${subdomain}`)
+

  onMount(async () => {
    try {
      await registerName(subdomain, registrationOwner, config);
@@ -72,7 +74,7 @@

    <span slot="actions">
      {#if $state === State.Registered}
-
        <button on:click={() => state.set(State.Idle)} class="primary register">
+
        <button on:click={done} class="primary register">
          Done
        </button>
      {:else}