Skip to content

Commit

Permalink
Fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Mar 18, 2024
1 parent 8f89a03 commit 360375c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/remix-react/single-fetch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,6 @@ export function getSingleFetchDataStrategy(
manifest: AssetsManifest,
routeModules: RouteModules
): DataStrategyFunction {
let genRouteIds = (arr: string[]) =>
arr.filter((id) => manifest.routes[id].hasLoader).join(",");

return async ({ request, matches }: DataStrategyFunctionArgs) => {
// This function is the way for a loader/action to "talk" to the server
let singleFetch: (routeId: string) => Promise<unknown>;
Expand Down

0 comments on commit 360375c

Please sign in to comment.