Fix more stuff, particularly event handlers
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
import Button from "@lib/components/Button.svelte"
|
||||
import {clip} from "@app/toast"
|
||||
|
||||
let {value} = $props()
|
||||
const {value} = $props()
|
||||
|
||||
const copy = () => clip(value)
|
||||
</script>
|
||||
|
||||
<Button on:click={copy} class="link-content">
|
||||
<Button onclick={copy} class="link-content">
|
||||
<Icon icon="bolt" size={3} class="inline-block translate-y-px" />
|
||||
{value.slice(0, 16)}...
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user