Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Don't show loader when clicking copy button
Rūdolfs Ošiņš committed 2 years ago
commit 55d64af8db7cd1b813831a70fa480c49a7756408
parent 33f7410d6cfd2b7e982809ad4a6bd0c1f63e3aa2
1 file changed +3 -12
modified src/views/projects/Share.svelte
@@ -8,7 +8,6 @@

  import Button from "@app/components/Button.svelte";
  import IconSmall from "@app/components/IconSmall.svelte";
-
  import Loading from "@app/components/Loading.svelte";
  import Popover from "@app/components/Popover.svelte";
  import ShareButton from "./Header/ShareButton.svelte";

@@ -60,16 +59,8 @@
    <ShareButton slot="popover" />
  </Popover>
{:else}
-
  <Button
-
    styleMinWidth="5.75rem"
-
    variant="outline"
-
    size="regular"
-
    on:click={copy}>
-
    {#if loading}
-
      <Loading small noDelay />
-
    {:else}
-
      <IconSmall name={shareIcon} />
-
      Copy link
-
    {/if}
+
  <Button variant="outline" size="regular" on:click={copy}>
+
    <IconSmall name={shareIcon} />
+
    Copy link
  </Button>
{/if}