@unsetsoft/ryunixjs 1.2.5-canary.6 → 1.2.5-canary.7
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/Ryunix.esm.js +1 -1
- package/dist/Ryunix.esm.js.map +1 -1
- package/dist/Ryunix.umd.js +1 -1
- package/dist/Ryunix.umd.js.map +1 -1
- package/dist/Ryunix.umd.min.js +1 -1
- package/dist/Ryunix.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/dist/Ryunix.js +0 -1521
- package/dist/Ryunix.js.map +0 -1
- package/dist/Ryunix.min.js +0 -929
- package/dist/Ryunix.min.js.map +0 -1
package/dist/Ryunix.umd.js
CHANGED
|
@@ -1687,7 +1687,7 @@
|
|
|
1687
1687
|
const RouterProvider = ({ routes, children }) => {
|
|
1688
1688
|
// SSR: Return server-safe version without hooks
|
|
1689
1689
|
if (typeof window === 'undefined') {
|
|
1690
|
-
const location =
|
|
1690
|
+
const location = window.location.pathname;
|
|
1691
1691
|
const currentRouteData = findRoute(routes, location) || {};
|
|
1692
1692
|
const contextValue = {
|
|
1693
1693
|
location,
|