Skip to content

Commit 71cbf4c

Browse files
committed
fix button
1 parent e94466e commit 71cbf4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

router-gui/web-gui/src/lib/components/common/Button.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<button
2929
{type}
3030
class="flex gap-1 {variantClasses} {sizeClasses} {widthClass} {disabledClasses} rounded-md font-medium focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 transition-colors"
31-
on:click|stopPropagation|preventDefault={()=>onClick()}
31+
on:click={onClick}
3232
{disabled}
3333
>
3434
<slot />

0 commit comments

Comments
 (0)