feat: support async layout functions (#1597)

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
This commit is contained in:
Marvin Hagemeister
2023-08-08 14:15:02 +02:00
committed by GitHub
co-authored by Asher Gomez
parent 11077227b5
commit 8325225a0d
11 changed files with 277 additions and 65 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { AppProps } from "$fresh/server.ts";
export default function App({ Component }: AppProps) {
export default function App({ Component, state }: AppProps) {
return (
<div class="app">
<Component />