@uxf/router 11.72.3 → 11.72.4

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/package.json +1 -1
  2. package/router.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/router",
3
- "version": "11.72.3",
3
+ "version": "11.72.4",
4
4
  "description": "UXF Router",
5
5
  "author": "UXFans <dev@uxf.cz>",
6
6
  "homepage": "https://gitlab.com/uxf-npm/router#readme",
package/router.js CHANGED
@@ -108,7 +108,7 @@ function createRouter(routes, routerOptions) {
108
108
  if (!schema) {
109
109
  throw new Error(`Route '${String(routeName)}' has no schema.`);
110
110
  }
111
- if (router.isReady) {
111
+ if (!router.isReady) {
112
112
  throw new Error("Router is not ready. Use useQueryParamsStatic instead of useQueryParams.");
113
113
  }
114
114
  return [