mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-15 03:20:33 +08:00
Change some ProjectLink components into Link
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
import { push, routeToPath, useDefaultNavigation } from "@app/lib/router";
|
||||
|
||||
export let route: Route;
|
||||
export let title: string | undefined = undefined;
|
||||
|
||||
const dispatch = createEventDispatcher<{
|
||||
afterNavigate: never;
|
||||
@@ -21,6 +22,6 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<a on:click={navigateToRoute} href={routeToPath(route)}>
|
||||
<a on:click={navigateToRoute} href={routeToPath(route)} {title}>
|
||||
<slot />
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user