replace base with resolve

This commit is contained in:
maxDorninger
2025-10-27 19:20:57 +01:00
parent 7eb4ff8902
commit f62394fdb7
27 changed files with 108 additions and 91 deletions

View File

@@ -6,7 +6,7 @@
import Folder from '@lucide/svelte/icons/folder';
import Share from '@lucide/svelte/icons/share';
import Trash2 from '@lucide/svelte/icons/trash-2';
import { resolve } from '$app/paths';
let {
projects
}: {
@@ -29,7 +29,7 @@
<Sidebar.MenuItem>
<Sidebar.MenuButton>
{#snippet child({ props })}
<a href={item.url} {...props}>
<a href={resolve(item.url, {})} {...props}>
<item.icon />
<span>{item.name}</span>
</a>