fix: f-client-nav={false} not working inside island (#2677)

See https://github.com/denoland/fresh/issues/2658
This commit is contained in:
Marvin Hagemeister
2024-10-04 05:44:19 +02:00
committed by GitHub
parent ea3df041c1
commit 73b0398d24
3 changed files with 78 additions and 0 deletions
@@ -0,0 +1,7 @@
export function OptOutPartialLink(props: { href: string; partial: string }) {
return (
<div f-client-nav={false}>
<a class="update" href={props.href} f-partial={props.partial}>link</a>
</div>
);
}