feat: add render function (#2454)

This commit is contained in:
Luca Casonato
2024-05-24 18:31:34 +02:00
committed by GitHub
parent 82d027cbcd
commit f2162d24bf
14 changed files with 123 additions and 64 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import { asset } from "@fresh/core/runtime";
import { df } from "../utils/state.ts";
import { define } from "../utils/state.ts";
export default df.page(function App({ Component, state, url }) {
export default define.page(function App({ Component, state, url }) {
return (
<html lang="en">
<head>