Skip to content

Commit

Permalink
debug: Travis timing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Herrera committed Aug 2, 2017
1 parent ad94721 commit 0d9c311
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/HelmetUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 0d9c311

Please sign in to comment.