vike-lite-react 1.0.14 → 1.0.15
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.
|
@@ -101,7 +101,7 @@ function RouterApp(props) {
|
|
|
101
101
|
}));
|
|
102
102
|
setView(errorView);
|
|
103
103
|
document.title = is404 ? "Not Found" : "Server Error";
|
|
104
|
-
finalizeNavigation(shouldScrollToTop
|
|
104
|
+
finalizeNavigation(shouldScrollToTop.current);
|
|
105
105
|
};
|
|
106
106
|
const loadRoute = async () => {
|
|
107
107
|
const contextOverride = pendingContextOverride.current;
|
|
@@ -148,7 +148,7 @@ function RouterApp(props) {
|
|
|
148
148
|
if (globalThis.location.hash) return;
|
|
149
149
|
document.querySelector("#root")?.focus({ preventScroll: true });
|
|
150
150
|
});
|
|
151
|
-
finalizeNavigation(shouldScrollToTop
|
|
151
|
+
finalizeNavigation(shouldScrollToTop.current);
|
|
152
152
|
} catch (error) {
|
|
153
153
|
if (error.name === "AbortError") return;
|
|
154
154
|
const message = error.message || "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vike-lite-react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"react": "^19.2.7",
|
|
64
64
|
"react-dom": "^19.2.7",
|
|
65
65
|
"tsdown": "^0.22.9",
|
|
66
|
-
"vike-lite": "1.15.
|
|
66
|
+
"vike-lite": "1.15.13",
|
|
67
67
|
"vite": "^8.1.5"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|