x25 5.1.7 → 5.1.10
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/Async/RouteLoading.js +2 -11
- package/package.json +1 -1
package/Async/RouteLoading.js
CHANGED
|
@@ -16,8 +16,6 @@ var _SimulatedException2 = _interopRequireDefault(_SimulatedException);
|
|
|
16
16
|
|
|
17
17
|
var _Error = require("../Messages/Error");
|
|
18
18
|
|
|
19
|
-
var _Error2 = _interopRequireDefault(_Error);
|
|
20
|
-
|
|
21
19
|
var _TheError = require("../dev/TheError");
|
|
22
20
|
|
|
23
21
|
var _TheError2 = _interopRequireDefault(_TheError);
|
|
@@ -33,17 +31,10 @@ var RouteLoading = function RouteLoading(_ref) {
|
|
|
33
31
|
|
|
34
32
|
if (theError) {
|
|
35
33
|
|
|
36
|
-
// eslint-disable-next-line no-console
|
|
37
|
-
console.log("theError");
|
|
38
|
-
// eslint-disable-next-line no-console
|
|
39
|
-
console.log(theError.name);
|
|
40
|
-
// eslint-disable-next-line no-console
|
|
41
|
-
console.log(theError);
|
|
42
|
-
|
|
43
34
|
if (theError.name === "ChunkLoadError") {
|
|
44
|
-
return _react2.default.createElement(
|
|
35
|
+
return _react2.default.createElement(_Error.LargeErrorMessage, {
|
|
45
36
|
onRetry: retry,
|
|
46
|
-
|
|
37
|
+
message: "Pagina nu a putut fi \xEEnc\u0103rcat\u0103. V\u0103 rug\u0103m s\u0103 face\u021Bi refresh la pagin\u0103"
|
|
47
38
|
});
|
|
48
39
|
}
|
|
49
40
|
|
package/package.json
CHANGED