We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3580350 commit b0f3af3Copy full SHA for b0f3af3
packages/react-router/lib/dom/ssr/routes.tsx
@@ -500,7 +500,7 @@ export function createClientRoutes(
500
let mod = await modPromise;
501
502
let lazyRoute: Partial<DataRouteObject> = { ...mod };
503
- if (mod.clientLoader && !route.clientLoaderModule) {
+ if (mod.clientLoader) {
504
let clientLoader = mod.clientLoader;
505
lazyRoute.loader = (
506
args: LoaderFunctionArgs,
@@ -515,7 +515,7 @@ export function createClientRoutes(
515
});
516
}
517
518
- if (mod.clientAction && !route.clientActionModule) {
+ if (mod.clientAction) {
519
let clientAction = mod.clientAction;
520
lazyRoute.action = (
521
args: ActionFunctionArgs,
0 commit comments