Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix some typescript errors
Alexis Sellier committed 4 years ago
commit 27c114855b71f92a0936474c42c757b3b9a1c58c
parent d7d344f3e733368fcf1d246877dced25094bef8c
3 files changed +1 -3
modified src/base/orgs/Create.svelte
@@ -84,7 +84,7 @@
    </span>

    <span slot="actions">
-
      <button on:click={() => navigate(`/orgs/${org.address}`)}>
+
      <button on:click={() => navigate(`/orgs/${org?.address}`)}>
        Done
      </button>
    </span>
modified src/base/orgs/Index.svelte
@@ -1,6 +1,5 @@
<script lang="typescript">
  import type { SvelteComponent } from 'svelte';
-
  import { navigate } from 'svelte-routing';
  import { session } from '@app/session';
  import Create from '@app/base/orgs/Create.svelte';
  import type { Config } from '@app/config';
modified src/base/orgs/View.svelte
@@ -2,7 +2,6 @@
  import { onMount } from 'svelte';
  import { Link } from 'svelte-routing';
  import type { SvelteComponent } from 'svelte';
-
  import { navigate } from 'svelte-routing';
  import type { Config } from '@app/config';
  import type { Registration } from '@app/base/registrations/registrar';
  import { getRegistration } from '@app/base/registrations/registrar';