swico 0.9.0-beta5 → 0.9.0-beta6
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
|
@@ -10,7 +10,8 @@ var routes_1 = __importDefault(require("./routes"));
|
|
|
10
10
|
var config_1 = require("./config");
|
|
11
11
|
var react_router_dom_1 = require("react-router-dom");
|
|
12
12
|
var react_1 = __importDefault(require("react"));
|
|
13
|
-
var Router = function (
|
|
13
|
+
var Router = function (_a) {
|
|
14
|
+
var children = _a.children;
|
|
14
15
|
return react_1.default.createElement(react_router_dom_1.unstable_HistoryRouter, { basename: config_1.routerBase, history: getOriHistory(config_1.routerType) }, children);
|
|
15
16
|
};
|
|
16
17
|
exports.Router = Router;
|