Skip to content

Commit

Permalink
Remove unneeded branch
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Oct 18, 2024
1 parent b2b957b commit 3bd2687
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/remix-react/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -476,14 +476,6 @@ export function createClientRoutes(
});
}

if (needsRevalidation) {
lazyRoute.shouldRevalidate = wrapShouldRevalidateForHdr(
route.id,
mod.shouldRevalidate,
needsRevalidation
);
}

return {
...(lazyRoute.loader ? { loader: lazyRoute.loader } : {}),
...(lazyRoute.action ? { action: lazyRoute.action } : {}),
Expand Down

0 comments on commit 3bd2687

Please sign in to comment.