From c2c0aae8e522740305dfefaada271df06a597595 Mon Sep 17 00:00:00 2001 From: Christoph Tavan Date: Sat, 26 Oct 2019 14:27:26 +0200 Subject: [PATCH] Ensure that all elements have a key prop Before this patch users would see the following warning during initial compilation: ``` Warning: Each child in a list should have a unique "key" prop. See https://fb.me/react-warning-keys for more information. in link in Head in html in Html in Document in Context.Provider in Context.Provider ``` --- packages/next/pages/_document.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/next/pages/_document.tsx b/packages/next/pages/_document.tsx index 2f7b144ff933e..5eed3f678cce0 100644 --- a/packages/next/pages/_document.tsx +++ b/packages/next/pages/_document.tsx @@ -146,6 +146,7 @@ export class Head extends Component< cssFiles.forEach(file => { cssLinkElements.push(