@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.
- package/package.json +1 -1
- package/router.js +1 -1
package/package.json
CHANGED
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 [
|