x25 5.1.8 → 5.1.11

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.
@@ -31,17 +31,10 @@ var RouteLoading = function RouteLoading(_ref) {
31
31
 
32
32
  if (theError) {
33
33
 
34
- // eslint-disable-next-line no-console
35
- console.log("theError");
36
- // eslint-disable-next-line no-console
37
- console.log(theError.name);
38
- // eslint-disable-next-line no-console
39
- console.log(theError);
40
-
41
34
  if (theError.name === "ChunkLoadError") {
42
35
  return _react2.default.createElement(_Error.LargeErrorMessage, {
43
36
  onRetry: retry,
44
- error: "Pagina nu a putut fi \xEEnc\u0103rcat\u0103. V\u0103 rug\u0103m s\u0103 face\u021Bi refresh la pagin\u0103"
37
+ message: "Pagina nu a putut fi \xEEnc\u0103rcat\u0103. V\u0103 rug\u0103m s\u0103 face\u021Bi refresh la pagin\u0103"
45
38
  });
46
39
  }
47
40
 
package/Messages/Error.js CHANGED
@@ -99,6 +99,16 @@ var LargeErrorMessage = exports.LargeErrorMessage = function LargeErrorMessage(_
99
99
  type: "button" },
100
100
  "Reîncearcă"
101
101
  )
102
+ ),
103
+ _react2.default.createElement(
104
+ "div",
105
+ { className: "text-center mt-3 border-top pt-2 text-muted small" },
106
+ "Dacă eroarea persistă, vă rugăm să navigați la ",
107
+ _react2.default.createElement(
108
+ "a",
109
+ { href: "/" },
110
+ " această pagină"
111
+ )
102
112
  )
103
113
  )
104
114
  )
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.1.8",
2
+ "version": "5.1.11",
3
3
  "name": "x25",
4
4
  "description": "x25",
5
5
  "scripts": {