Skip to content

Commit 6c49480

Browse files
committed
fix(ui): remove undefined prefetch reference in AuthModal
1 parent 7f0c987 commit 6c49480

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/Header/AuthModal.client.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ watch(user, async newUser => {
7878
<div class="flex flex-col space-y-4">
7979
<NuxtLink
8080
:to="{ name: 'profile-handle', params: { handle: user.handle } }"
81-
:prefetch-on="prefetch ? 'visibility' : 'interaction'"
81+
prefetch-on="interaction"
8282
>
8383
<button
8484
class="w-full px-4 py-2 font-mono text-sm text-fg-muted bg-bg-subtle border border-border rounded-md transition-colors duration-200 hover:text-fg hover:border-border-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50"

0 commit comments

Comments
 (0)