@symbo.ls/router 2.11.38 → 2.11.39

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.
Files changed (2) hide show
  1. package/index.js +2 -3
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -53,9 +53,8 @@ export const router = (
53
53
  const content = element.routes[routeInContent] || element.routes['/*']
54
54
 
55
55
  const { context } = element
56
- const { modals } = context
57
- console.log(modals)
58
- const isModal = modals && (modals.findModal(element, element.state) || {}).FoundModal
56
+ const { components } = context
57
+ const isModal = components.findModal && (components.findModal(element, element.state) || {}).FoundModal
59
58
  const isInitial = options.initialRender
60
59
  const hashChanged = hash && hash !== window.location.hash.slice(1)
61
60
  const pathChanged = pathname !== lastPathname
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbo.ls/router",
3
- "version": "2.11.38",
3
+ "version": "2.11.39",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -11,6 +11,6 @@
11
11
  "@domql/utils": "latest",
12
12
  "@symbo.ls/auth-redirect": "latest"
13
13
  },
14
- "gitHead": "0fe21ad13a7b9059e01ddacb0fa49e3b57542684",
14
+ "gitHead": "5d63aa30de065dfe82d7924573b5e19de10fd895",
15
15
  "source": "index.js"
16
16
  }