Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 81f54b1

Browse files
committed
rm clone
1 parent 27a535b commit 81f54b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/next/src/server/app-render/metadata-insertion/create-server-inserted-metadata.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { renderToString } from '../render-to-string'
1212
*
1313
*/
1414
const REINSERT_ICON_SCRIPT = `\
15-
document.querySelectorAll('body link[rel="icon"], body link[rel="apple-touch-icon"]').forEach(el => document.head.appendChild(el.cloneNode()))`
15+
document.querySelectorAll('body link[rel="icon"], body link[rel="apple-touch-icon"]').forEach(el => document.head.appendChild(el))`
1616

1717
export function createServerInsertedMetadata(nonce: string | undefined) {
1818
let metadataResolver: MetadataResolver | null = null

0 commit comments

Comments
 (0)