@symbo.ls/create 2.11.219 → 2.11.221
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/dist/cjs/bundle/index.js +1 -1
- package/dist/cjs/router.js +1 -1
- package/package.json +2 -2
- package/src/router.js +1 -1
package/dist/cjs/bundle/index.js
CHANGED
|
@@ -15973,7 +15973,7 @@ var popStateRouter = (element, options) => {
|
|
|
15973
15973
|
};
|
|
15974
15974
|
};
|
|
15975
15975
|
var injectRouterInLinkComponent = (routerOptions) => {
|
|
15976
|
-
if (routerOptions.injectRouterInLinkComponent) {
|
|
15976
|
+
if (routerOptions && routerOptions.injectRouterInLinkComponent) {
|
|
15977
15977
|
return (0, import_utils16.deepMerge)(Link, RouterLink);
|
|
15978
15978
|
}
|
|
15979
15979
|
};
|
package/dist/cjs/router.js
CHANGED
|
@@ -75,7 +75,7 @@ const popStateRouter = (element, options) => {
|
|
|
75
75
|
};
|
|
76
76
|
};
|
|
77
77
|
const injectRouterInLinkComponent = (routerOptions) => {
|
|
78
|
-
if (routerOptions.injectRouterInLinkComponent) {
|
|
78
|
+
if (routerOptions && routerOptions.injectRouterInLinkComponent) {
|
|
79
79
|
return (0, import_utils.deepMerge)(import_uikit.Link, import_uikit.RouterLink);
|
|
80
80
|
}
|
|
81
81
|
};
|
package/package.json
CHANGED
package/src/router.js
CHANGED
|
@@ -57,7 +57,7 @@ export const popStateRouter = (element, options) => {
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
export const injectRouterInLinkComponent = (routerOptions) => {
|
|
60
|
-
if (routerOptions.injectRouterInLinkComponent) {
|
|
60
|
+
if (routerOptions && routerOptions.injectRouterInLinkComponent) {
|
|
61
61
|
return deepMerge(Link, RouterLink)
|
|
62
62
|
}
|
|
63
63
|
}
|