Skip to content

Commit 7976eb3

Browse files
committed
fix: use .prevent modifier and method reference in button click handler
1 parent b307347 commit 7976eb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/AppFooter.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ const footerSections: Array<{ label: string; links: FooterLink[] }> = [
130130
v-if="link.type === 'button'"
131131
type="button"
132132
class="cursor-pointer text-start font-mono text-fg-subtle text-sm lowercase hover:text-accent transition-colors duration-200"
133-
@click="showModal()"
133+
@click.prevent="showModal"
134134
>
135135
{{ $t(link.name) }}
136136
</button>

0 commit comments

Comments
 (0)