From d009e02c1db0f93b24a9c1b539135a25347f1027 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Thu, 2 Sep 2021 15:54:07 -0700 Subject: latest Former-commit-id: 1086d4f894611c1171f57d9eaf82f9170e9de2d1 --- examples/hello-next/bun-framework-next/renderDocument.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'examples/hello-next/bun-framework-next/renderDocument.tsx') 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 ? {} : []; -- cgit v1.2.3