diff options
author | 2021-09-02 15:54:07 -0700 | |
---|---|---|
committer | 2021-09-02 15:54:07 -0700 | |
commit | d009e02c1db0f93b24a9c1b539135a25347f1027 (patch) | |
tree | 76e2adba7bc62f3ff17b14953869b7963989990e /examples/hello-next/bun-framework-next/renderDocument.tsx | |
parent | 1b894ad9f61d4d39486f3a03aab42de4f750294e (diff) | |
download | bun-d009e02c1db0f93b24a9c1b539135a25347f1027.tar.gz bun-d009e02c1db0f93b24a9c1b539135a25347f1027.tar.zst bun-d009e02c1db0f93b24a9c1b539135a25347f1027.zip |
latest
Former-commit-id: 1086d4f894611c1171f57d9eaf82f9170e9de2d1
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 ? {} : []; |