aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Code.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Code.svelte')
-rw-r--r--src/components/Code.svelte7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/components/Code.svelte b/src/components/Code.svelte
index 4f182ff2..48c132b0 100644
--- a/src/components/Code.svelte
+++ b/src/components/Code.svelte
@@ -5,12 +5,7 @@
</script>
{#snippet cp(something)}
- <button
- type="button"
- class="ml-auto"
- onclick={() => copy(something)}
- aria-label="Copy value"
- >
+ <button type="button" class="ml-auto" onclick={() => copy(something)} aria-label="Copy value">
<iconify-icon noobserver icon="ph:copy-bold" width="42"></iconify-icon>
</button>
{/snippet}