diff --git a/v2/pink-sb/src/lib/HiddenText.svelte b/v2/pink-sb/src/lib/HiddenText.svelte index 18bd79d9d2..8b6d0a1852 100644 --- a/v2/pink-sb/src/lib/HiddenText.svelte +++ b/v2/pink-sb/src/lib/HiddenText.svelte @@ -3,7 +3,7 @@ export let text: string; export let autoHideTimeoutMs = 10000; - let isVisible: boolean = false; + let isVisible: boolean = true; let timeout: NodeJS.Timeout; let showCopySuccess = false; @@ -29,32 +29,31 @@
+
+ {#if isVisible}{:else}{/if} +
+ +
Copied
+
+
{#if isVisible} - {text} + {text} {:else} - •••••••••• + •••••••••• {/if} -
- -
Copied
-