From 0d9c3118db37069e51478d9d1b19ee27b900e545 Mon Sep 17 00:00:00 2001 From: Richard Herrera Date: Wed, 2 Aug 2017 15:45:57 -0700 Subject: [PATCH] debug: Travis timing issues --- src/HelmetUtils.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/HelmetUtils.js b/src/HelmetUtils.js index 47827e3b..63c49650 100644 --- a/src/HelmetUtils.js +++ b/src/HelmetUtils.js @@ -530,10 +530,13 @@ const convertElementAttributestoReactProps = (attributes, initProps = {}) => { }; const convertReactPropstoHtmlAttributes = (props, initAttributes = {}) => { - return Object.keys(props).reduce((obj, key) => { + const attrs = Object.keys(props).reduce((obj, key) => { obj[HTML_TAG_MAP[key] || key] = props[key]; return obj; }, initAttributes); + + console.log("convertReactPropstoHtmlAttributes", {...attrs}); + return attrs; }; const generateTitleAsReactComponent = (type, title, attributes) => {