Fix compressed .mxl handling
This commit is contained in:
@@ -67,13 +67,21 @@ const router = createBrowserRouter([
|
||||
path: "/login",
|
||||
Component: Login,
|
||||
},
|
||||
]);
|
||||
], {
|
||||
future: {
|
||||
v7_fetcherPersist: true,
|
||||
v7_normalizeFormMethod: true,
|
||||
v7_partialHydration: true,
|
||||
v7_relativeSplatPath: true,
|
||||
v7_skipActionErrorRevalidation: true,
|
||||
},
|
||||
});
|
||||
|
||||
const rootElement = document.getElementById("root") as HTMLDivElement;
|
||||
const root = createRoot(rootElement);
|
||||
|
||||
root.render(
|
||||
<StrictMode>
|
||||
<RouterProvider router={router} />
|
||||
<RouterProvider router={router} future={{ v7_startTransition: true }} />
|
||||
</StrictMode>,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user