@times-components/ssr 2.64.2-26a834cb0944a7221dc8b2f7581bf2458983b920.10 → 2.64.2-7de0cefbde9a1750ac13292b1e8fb5119b510238.9

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@times-components/ssr",
3
3
  "main": "src",
4
- "version": "2.64.2-26a834cb0944a7221dc8b2f7581bf2458983b920.10+26a834cb09",
4
+ "version": "2.64.2-7de0cefbde9a1750ac13292b1e8fb5119b510238.9+7de0cefbde",
5
5
  "scripts": {
6
6
  "bundle:dev": "yarn cleanup-dist && webpack --config=webpack.config.js",
7
7
  "bundle:prod": "yarn cleanup-dist && NODE_ENV=production webpack --config=webpack.config.js -p",
@@ -52,8 +52,8 @@
52
52
  "webpack": "4.30.0"
53
53
  },
54
54
  "dependencies": {
55
- "@times-components/article": "^7.20.2-26a834cb0944a7221dc8b2f7581bf2458983b920.10+26a834cb09",
56
- "@times-components/author-profile": "^6.22.7",
55
+ "@times-components/article": "^7.20.2-7de0cefbde9a1750ac13292b1e8fb5119b510238.9+7de0cefbde",
56
+ "@times-components/author-profile": "^6.22.8-7de0cefbde9a1750ac13292b1e8fb5119b510238.9+7de0cefbde",
57
57
  "@times-components/context": "^1.27.0",
58
58
  "@times-components/provider": "^1.48.7",
59
59
  "@times-components/schema": "^0.7.5",
@@ -79,5 +79,5 @@
79
79
  "publishConfig": {
80
80
  "access": "public"
81
81
  },
82
- "gitHead": "26a834cb0944a7221dc8b2f7581bf2458983b920"
82
+ "gitHead": "7de0cefbde9a1750ac13292b1e8fb5119b510238"
83
83
  }
@@ -1,7 +1,5 @@
1
1
  /* eslint-disable import/no-unresolved */
2
2
 
3
- import { createPageSectionsHelper } from "../../../article-skeleton/src/data-helper";
4
-
5
3
  const React = require("react");
6
4
  const { ApolloProvider } = require("react-apollo");
7
5
  const { HelmetProvider } = require("react-helmet-async");
@@ -39,11 +37,6 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
39
37
  removeTeaserContent
40
38
  } = data;
41
39
 
42
- const enhancedArticleData = {
43
- ...articleDataFromRender,
44
- pageSections: createPageSectionsHelper(articleDataFromRender)
45
- };
46
-
47
40
  return React.createElement(
48
41
  HelmetProvider,
49
42
  { context: helmetContext },
@@ -96,7 +89,7 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
96
89
  onTopicPress: () => {},
97
90
  refetch,
98
91
  commentingConfig,
99
- articleDataFromRender: enhancedArticleData,
92
+ articleDataFromRender,
100
93
  paidContentClassName,
101
94
  swgProductId,
102
95
  getFallbackThumbnailUrl169,