gemi 0.28.3 → 0.28.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/dist/client/index.js +1 -1
- package/dist/client/index.js.map +1 -1
- package/package.json +1 -1
package/dist/client/index.js
CHANGED
|
@@ -2234,7 +2234,7 @@ function useNavigate() {
|
|
|
2234
2234
|
}
|
|
2235
2235
|
const routePath = applyParams$1(path, params);
|
|
2236
2236
|
const navigationPath = [
|
|
2237
|
-
`${localeSegment ? `/${localeSegment}` : ""}${routePath}`,
|
|
2237
|
+
`${localeSegment ? `/${localeSegment}` : ""}${routePath === "/" ? "" : routePath}`,
|
|
2238
2238
|
urlSearchParams.toString()
|
|
2239
2239
|
].filter((s) => s.length > 0).join("?");
|
|
2240
2240
|
const finalPath = [navigationPath, hash].filter(Boolean).join("");
|