mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
* add isEqualNode function * add test * trying to make integration test work * revert * Update test/unit/is-equal-node.unit.test.js Co-authored-by: Steven <[email protected]> * Revert "revert" This reverts commit d67b9971068d18efcf839666a3a17619fd914fc3. * Fix tests * Use TS for unit test * Revert waitfor * Start tests with "should" * Fix lint * Use cloneNode() Co-authored-by: Eric Biewener <[email protected]> Co-authored-by: Steven <[email protected]>
18 lines
326 B
JavaScript
18 lines
326 B
JavaScript
import Document, { Head, Html, Main, NextScript } from 'next/document'
|
|
|
|
class NextDocument extends Document {
|
|
render() {
|
|
return (
|
|
<Html>
|
|
<Head nonce="abc123" />
|
|
<body>
|
|
<Main />
|
|
<NextScript nonce="abc123" />
|
|
</body>
|
|
</Html>
|
|
)
|
|
}
|
|
}
|
|
|
|
export default NextDocument
|