Skip to content

Commit c7a357c

Browse files
committed
chore: revert additional arrow function
1 parent 8bda1e0 commit c7a357c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/ScrollToTop.client.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const shouldShowButton = computed(() => isActive.value && isTouchDeviceClient.va
3030
type="button"
3131
class="scroll-to-top-css fixed bottom-4 inset-ie-4 z-50 w-12 h-12 bg-bg-elevated border border-border rounded-full shadow-lg flex items-center justify-center text-fg-muted hover:text-fg transition-colors active:scale-95"
3232
:aria-label="$t('common.scroll_to_top')"
33-
@click="() => scrollToTop()"
33+
@click="scrollToTop"
3434
>
3535
<span class="i-lucide:arrow-up w-5 h-5" aria-hidden="true" />
3636
</button>

0 commit comments

Comments
 (0)