mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2024-11-01 04:44:16 +01:00
add type button to element
This commit is contained in:
parent
14d3e9eb03
commit
f61d3ece8b
@ -18,7 +18,7 @@
|
||||
export let icon: keyof typeof map
|
||||
</script>
|
||||
|
||||
<button on:click {...$$restProps}>
|
||||
<button type="button" on:click {...$$restProps}>
|
||||
{#if map[icon]}
|
||||
<svelte:component this={map[icon]} />
|
||||
{/if}
|
||||
|
Loading…
Reference in New Issue
Block a user