fix: Partials not working on error pages (#2072)

This commit is contained in:
Marvin Hagemeister
2023-11-27 16:56:46 +01:00
committed by GitHub
parent 1294d455bc
commit a56ea283c8
5 changed files with 45 additions and 4 deletions
@@ -0,0 +1,19 @@
import { Partial } from "$fresh/runtime.ts";
export default function ModeDemo() {
return (
<div f-client-nav>
<Partial name="body">
<p class="status">default content</p>
</Partial>
<p>
<a
class="update-link"
href="/error_404/asdf"
>
update
</a>
</p>
</div>
);
}