@tramvai/module-page-render-mode 5.41.1 → 5.45.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.
@@ -28,6 +28,7 @@ const PageRenderWrapper = ({ children }) => {
28
28
  }
29
29
  return null;
30
30
  }
31
+ // eslint-disable-next-line react/jsx-no-useless-fragment
31
32
  return jsx(Fragment, { children: children });
32
33
  };
33
34
  const pageRenderHOC = (WrapperPage) => (props) => {
@@ -28,6 +28,7 @@ const PageRenderWrapper = ({ children }) => {
28
28
  }
29
29
  return null;
30
30
  }
31
+ // eslint-disable-next-line react/jsx-no-useless-fragment
31
32
  return jsx(Fragment, { children: children });
32
33
  };
33
34
  const pageRenderHOC = (WrapperPage) => (props) => {
@@ -32,6 +32,7 @@ const PageRenderWrapper = ({ children }) => {
32
32
  }
33
33
  return null;
34
34
  }
35
+ // eslint-disable-next-line react/jsx-no-useless-fragment
35
36
  return jsxRuntime.jsx(jsxRuntime.Fragment, { children: children });
36
37
  };
37
38
  const pageRenderHOC = (WrapperPage) => (props) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-page-render-mode",
3
- "version": "5.41.1",
3
+ "version": "5.45.0",
4
4
  "description": "Enable different rendering modes for pages",
5
5
  "main": "./lib/server.js",
6
6
  "module": "./lib/server.es.js",
@@ -29,19 +29,19 @@
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@tinkoff/utils": "^2.1.2",
32
- "@tinkoff/dippy": "0.11.3",
33
- "@tramvai/core": "5.41.1",
34
- "@tramvai/react": "5.41.1",
35
- "@tramvai/papi": "5.41.1",
36
- "@tramvai/module-router": "5.41.1",
37
- "@tramvai/module-client-hints": "5.41.1",
38
- "@tramvai/tokens-common": "5.41.1",
39
- "@tramvai/tokens-core": "5.41.1",
40
- "@tramvai/tokens-render": "5.41.1",
41
- "@tramvai/tokens-router": "5.41.1",
42
- "@tramvai/tokens-server": "5.41.1",
43
- "@tramvai/tokens-server-private": "5.41.1",
44
- "@tramvai/tokens-metrics": "5.41.1",
32
+ "@tinkoff/dippy": "0.11.4",
33
+ "@tramvai/core": "5.45.0",
34
+ "@tramvai/react": "5.45.0",
35
+ "@tramvai/papi": "5.45.0",
36
+ "@tramvai/module-router": "5.45.0",
37
+ "@tramvai/module-client-hints": "5.45.0",
38
+ "@tramvai/tokens-common": "5.45.0",
39
+ "@tramvai/tokens-core": "5.45.0",
40
+ "@tramvai/tokens-render": "5.45.0",
41
+ "@tramvai/tokens-router": "5.45.0",
42
+ "@tramvai/tokens-server": "5.45.0",
43
+ "@tramvai/tokens-server-private": "5.45.0",
44
+ "@tramvai/tokens-metrics": "5.45.0",
45
45
  "prom-client": "^14.2.0",
46
46
  "react": ">=16.14.0",
47
47
  "tslib": "^2.4.0"