@cytario/web 2.2.3 → 2.2.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.
Files changed (2) hide show
  1. package/app/root.tsx +3 -2
  2. package/package.json +1 -1
package/app/root.tsx CHANGED
@@ -7,7 +7,6 @@ import {
7
7
  Outlet,
8
8
  Scripts,
9
9
  ScrollRestoration,
10
- useHref,
11
10
  useLocation,
12
11
  useNavigate,
13
12
  useNavigation,
@@ -156,7 +155,9 @@ export function Layout({ children }: { children: React.ReactNode }) {
156
155
  </div>
157
156
  )}
158
157
 
159
- <RouterProvider navigate={navigate} useHref={useHref}>
158
+ {/* No `useHref`: RR's collapses `//` in absolute URLs (C-201).
159
+ Only needed for basename / hash routing — neither is in use. */}
160
+ <RouterProvider navigate={navigate}>
160
161
  {data?.user && <AppHeader />}
161
162
 
162
163
  <main id="main-content" className="relative flex-1 min-h-0 outline-none">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cytario/web",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "description": "Cytario Web — scientific imaging data browser and viewer for OME-TIFF, OME-Zarr, Parquet and GeoTIFF on S3-compatible storage.",
5
5
  "license": "AGPL-3.0",
6
6
  "sideEffects": false,