@unsetsoft/ryunixjs 1.2.5-canary.5 → 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.esm.js
CHANGED
|
@@ -1681,7 +1681,7 @@ const findRoute = (routes, path) => {
|
|
|
1681
1681
|
const RouterProvider = ({ routes, children }) => {
|
|
1682
1682
|
// SSR: Return server-safe version without hooks
|
|
1683
1683
|
if (typeof window === 'undefined') {
|
|
1684
|
-
const location =
|
|
1684
|
+
const location = window.location.pathname;
|
|
1685
1685
|
const currentRouteData = findRoute(routes, location) || {};
|
|
1686
1686
|
const contextValue = {
|
|
1687
1687
|
location,
|