fix: missing Component with async app + layout (#1848)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { LayoutProps } from "$fresh/server.ts";
|
||||
|
||||
export default function RootLayout(
|
||||
{ Component }: LayoutProps<unknown>,
|
||||
) {
|
||||
return (
|
||||
<div class="root-layout">
|
||||
<Component />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user