Tweak errors so that actionable links are rendered

This commit is contained in:
Jon Staab
2025-05-07 15:04:35 -07:00
parent 94a0077b09
commit d57f4747a6
7 changed files with 36 additions and 34 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
import Button from "@lib/components/Button.svelte"
import {clip} from "@app/toast"
const {code} = $props()
const {code, ...props} = $props()
let canvas: Element | undefined = $state()
let wrapper: Element | undefined = $state()
@@ -26,7 +26,7 @@
})
</script>
<Button class="max-w-full" onclick={copy}>
<Button class="max-w-full {props.class}" onclick={copy}>
<div bind:this={wrapper} style={`height: ${height}px`}>
<canvas
class="rounded-box"