@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.
- package/app/root.tsx +3 -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
|
-
|
|
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