From bb48bb4f0c85a02b3547dd4ff3f957502420b6b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?H=C3=A9ctor=20Ramos?=
<165856+hramos@users.noreply.github.com>
Date: Mon, 27 Nov 2017 15:14:55 -0800
Subject: [PATCH] Remove keys warning when loading scripts (#244)
---
lib/core/Head.js | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/lib/core/Head.js b/lib/core/Head.js
index f11e807ae2..b8b63cd748 100644
--- a/lib/core/Head.js
+++ b/lib/core/Head.js
@@ -83,9 +83,13 @@ class Head extends React.Component {
);
})}
- {this.props.config.scripts && this.props.config.scripts.map(function(source) {
+ {this.props.config.scripts && this.props.config.scripts.map(function(source, idx) {
return (
-
+
);
})}