mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
feat(waku): WakuLink component to use unstable_prefetchOnEnter for prefetch (#2637)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'fumadocs-core': patch
|
||||
---
|
||||
|
||||
feat(waku): WakuLink component to use unstable_prefetchOnEnter for prefetch
|
||||
@@ -36,9 +36,9 @@ const framework: Framework = {
|
||||
[router],
|
||||
);
|
||||
},
|
||||
Link({ href, prefetch: _prefetch, ...props }) {
|
||||
Link({ href, prefetch = true, ...props }) {
|
||||
return (
|
||||
<WakuLink to={href!} {...props}>
|
||||
<WakuLink to={href!} unstable_prefetchOnEnter={prefetch} {...props}>
|
||||
{props.children}
|
||||
</WakuLink>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user