mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2025-09-04 08:30:39 +00:00
add type button to element
This commit is contained in:
@@ -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}
|
||||
|
Reference in New Issue
Block a user