@griddo/cx 1.74.37 → 1.75.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/gatsby-browser.js CHANGED
@@ -92,9 +92,9 @@ exports.shouldUpdateScroll = props => {
92
92
  }
93
93
  };
94
94
 
95
- exports.wrapRootElement = props => {
95
+ exports.wrapPageElement = props => {
96
96
  if (browser.wrapPageElement) {
97
- return browser.wrapRootElement(props);
97
+ return browser.wrapPageElement(props);
98
98
  }
99
99
  };
100
100
 
package/gatsby-ssr.js CHANGED
@@ -1,5 +1,4 @@
1
1
  /* eslint-disable node/no-missing-require */
2
- import * as React from 'react';
3
2
  const { ssr } = require('components');
4
3
 
5
4
  export const wrapPageElement = ({ props }) => {
@@ -12,7 +11,7 @@ export const onRenderBody = props => {
12
11
  if (ssr.onRenderBody) {
13
12
  ssr.onRenderBody(props);
14
13
  }
15
-
14
+
16
15
  // ** Comentado porque ahora mismo no queremos añadir headers adicionales desde aquí,
17
16
  // ** los estamos metiendo en SEO.
18
17
  // const { setHeadComponents } = props;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@griddo/cx",
3
3
  "description": "Griddo SSG based on Gatsby",
4
- "version": "1.74.37",
4
+ "version": "1.75.0",
5
5
  "authors": [
6
6
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
7
7
  "Carlos Torres <carlos.torres@secuoyas.com>",
@@ -65,7 +65,7 @@
65
65
  "react-helmet": "^6.0.0"
66
66
  },
67
67
  "devDependencies": {
68
- "@griddo/eslint-config-back": "^1.74.37",
68
+ "@griddo/eslint-config-back": "^1.75.0",
69
69
  "eslint": "^7.5.0",
70
70
  "eslint-plugin-node": "^11.1.0",
71
71
  "eslint-plugin-react": "7.14.3",
@@ -97,5 +97,5 @@
97
97
  "publishConfig": {
98
98
  "access": "public"
99
99
  },
100
- "gitHead": "177ea63d2f86cbc0503fa1e26acfe9b93eba6366"
100
+ "gitHead": "947557a00bc2e4adaf70c2a86d8803f0ba299e2f"
101
101
  }