@tramvai/module-router 5.47.0 → 5.48.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.
@@ -52,7 +52,9 @@ function Link(props) {
52
52
  }
53
53
  return (
54
54
  // eslint-disable-next-line react/jsx-props-no-spreading
55
- jsx("a", { ref: (element) => setLinkElement(element), ...otherProps, ...extraProps, children: children }));
55
+ jsx("a", { ref: (element) => {
56
+ setLinkElement(element);
57
+ }, ...otherProps, ...extraProps, children: children }));
56
58
  }
57
59
  Link.displayName = 'Link';
58
60
 
@@ -46,7 +46,9 @@ function Link(props) {
46
46
  }
47
47
  return (
48
48
  // eslint-disable-next-line react/jsx-props-no-spreading
49
- jsx("a", { ref: (element) => setLinkElement(element), ...otherProps, ...extraProps, children: children }));
49
+ jsx("a", { ref: (element) => {
50
+ setLinkElement(element);
51
+ }, ...otherProps, ...extraProps, children: children }));
50
52
  }
51
53
  Link.displayName = 'Link';
52
54
 
@@ -50,7 +50,9 @@ function Link(props) {
50
50
  }
51
51
  return (
52
52
  // eslint-disable-next-line react/jsx-props-no-spreading
53
- jsxRuntime.jsx("a", { ref: (element) => setLinkElement(element), ...otherProps, ...extraProps, children: children }));
53
+ jsxRuntime.jsx("a", { ref: (element) => {
54
+ setLinkElement(element);
55
+ }, ...otherProps, ...extraProps, children: children }));
54
56
  }
55
57
  Link.displayName = 'Link';
56
58
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-router",
3
- "version": "5.47.0",
3
+ "version": "5.48.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "browser": {
@@ -26,27 +26,27 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@tinkoff/errors": "0.6.2",
29
- "@tinkoff/router": "0.5.111",
29
+ "@tinkoff/router": "0.5.113",
30
30
  "@tinkoff/url": "0.11.2",
31
- "@tramvai/react": "5.47.0",
31
+ "@tramvai/react": "5.48.0",
32
32
  "@tramvai/safe-strings": "0.8.4",
33
- "@tramvai/tokens-child-app": "5.47.0",
34
- "@tramvai/tokens-render": "5.47.0",
35
- "@tramvai/tokens-router": "5.47.0",
36
- "@tramvai/tokens-server": "5.47.0",
37
- "@tramvai/experiments": "5.47.0"
33
+ "@tramvai/tokens-child-app": "5.48.0",
34
+ "@tramvai/tokens-render": "5.48.0",
35
+ "@tramvai/tokens-router": "5.48.0",
36
+ "@tramvai/tokens-server": "5.48.0",
37
+ "@tramvai/experiments": "5.48.0"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "@tinkoff/utils": "^2.1.2",
41
- "@tramvai/cli": "5.47.0",
42
- "@tramvai/core": "5.47.0",
43
- "@tramvai/module-log": "5.47.0",
44
- "@tramvai/module-server": "5.47.0",
45
- "@tramvai/papi": "5.47.0",
46
- "@tramvai/state": "5.47.0",
47
- "@tramvai/test-helpers": "5.47.0",
48
- "@tramvai/test-mocks": "5.47.0",
49
- "@tramvai/tokens-common": "5.47.0",
41
+ "@tramvai/cli": "5.48.0",
42
+ "@tramvai/core": "5.48.0",
43
+ "@tramvai/module-log": "5.48.0",
44
+ "@tramvai/module-server": "5.48.0",
45
+ "@tramvai/papi": "5.48.0",
46
+ "@tramvai/state": "5.48.0",
47
+ "@tramvai/test-helpers": "5.48.0",
48
+ "@tramvai/test-mocks": "5.48.0",
49
+ "@tramvai/tokens-common": "5.48.0",
50
50
  "@tinkoff/dippy": "0.11.4",
51
51
  "react": "*",
52
52
  "tslib": "^2.4.0"