diff options
Diffstat (limited to 'examples/hello-next/bun-framework-next/renderDocument.tsx')
-rw-r--r-- | examples/hello-next/bun-framework-next/renderDocument.tsx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/hello-next/bun-framework-next/renderDocument.tsx b/examples/hello-next/bun-framework-next/renderDocument.tsx index a79c4fdb2..356ff788b 100644 --- a/examples/hello-next/bun-framework-next/renderDocument.tsx +++ b/examples/hello-next/bun-framework-next/renderDocument.tsx @@ -417,12 +417,7 @@ export async function render({ (DocumentNamespace && DocumentNamespace.default) || NextDocument.default; // Document.Html.prototype.getScripts = getScripts; // } - console.log( - "next", - typeof NextDocument.default, - "doc", - typeof NextDocument.default.renderDocument - ); + const callMiddleware = async (method: string, args: any[], props = false) => { let results: any = props ? {} : []; |