diff options
| author | Adam Soltys <[email protected]> | 2024-11-07 21:16:25 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-11-08 09:27:40 -0800 |
| commit | 32fcc461cd43c8907df5e306d520bb671307eab1 (patch) | |
| tree | 0253780c569998b6c1a5f43026586e94916c3fee /src/routes/(static)/docs | |
| parent | be5aa52cea1d57c875cfb22d25c6a866b8de2239 (diff) | |
| download | coinos-ui-32fcc461cd43c8907df5e306d520bb671307eab1.tar.gz coinos-ui-32fcc461cd43c8907df5e306d520bb671307eab1.zip | |
svelte 5
Diffstat (limited to 'src/routes/(static)/docs')
| -rw-r--r-- | src/routes/(static)/docs/+page.svelte | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/(static)/docs/+page.svelte b/src/routes/(static)/docs/+page.svelte index f83ba8c0..9f724484 100644 --- a/src/routes/(static)/docs/+page.svelte +++ b/src/routes/(static)/docs/+page.svelte @@ -5,7 +5,7 @@ import Code from "$comp/Code.svelte"; import Icon from "$comp/Icon.svelte"; - export let data; + let { data } = $props(); let { user, token } = data; @@ -40,7 +40,7 @@ <h2 class="text-2xl">API Base URL</h2> <div class="bg-primary text-primary-content rounded-lg p-4 flex gap-4"> <div>{api}</div> - <button class="ml-auto my-auto invert opacity-90" on:click={() => copy(api)} + <button class="ml-auto my-auto invert opacity-90" onclick={() => copy(api)} ><Icon icon="copy" style="w-10 max-w-none" /></button > </div> @@ -61,7 +61,7 @@ <div class="w-full break-all">{tokenSample}</div> <button class="ml-auto my-auto invert opacity-90" - on:click={() => copy(tokenSample)} + onclick={() => copy(tokenSample)} ><Icon icon="copy" style="w-10 max-w-none" /></button > </div> |
