Skip to content

Commit

Permalink
Update _document.js (#14936)
Browse files Browse the repository at this point in the history
Fix key warning
  • Loading branch information
christianalfoni authored Jul 7, 2020
1 parent e5f2a05 commit 38b8eca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/with-stitches-styled/pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export default class MyDocument extends Document {
styles: (
<>
{initialProps.styles}
{extractedStyles.map((content) => (
<style>{content}</style>
{extractedStyles.map((content, index) => (
<style key={index}>{content}</style>
))}
</>
),
Expand Down

0 comments on commit 38b8eca

Please sign in to comment.