aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/AppHeader.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/AppHeader.svelte')
-rw-r--r--src/components/AppHeader.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte
index 586332e6..a12c656e 100644
--- a/src/components/AppHeader.svelte
+++ b/src/components/AppHeader.svelte
@@ -77,7 +77,7 @@
<nav class="flex justify-end items-center space-x-4 p-5">
{#if user}
{#each links as { href, icon: Icon, label }}
- <a {href} data-sveltekit-preload-code="eager" aria-label={label}>
+ <a {href} data-sveltekit-preload-data="tap" aria-label={label}>
<button class="flex justify-center items-center bg-base-100 p-2 rounded-full w-12 h-12 sm:w-16 sm:h-16 drop-shadow-xl {opacity(href)}" aria-label={label}>
<Icon width={(w ?? 0) > 640 ? 32 : 24} />
</button>