Skip to content

Commit

Permalink
Fix usePrefetchablePagination bug
Browse files Browse the repository at this point in the history
Reviewed By: lynnshaoyu

Differential Revision: D66183506

fbshipit-source-id: f8748cb337ec9f61473f3e85ed38fb6f47879016
  • Loading branch information
tyao1 authored and facebook-github-bot committed Nov 19, 2024
1 parent 896a1ed commit 195d9a2
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,9 @@ hook usePrefetchableForwardPaginationFragment_EXPERIMENTAL<
'Expected a plural selector',
);
// $FlowFixMe[incompatible-call]
return selector.selectors.map(sel => {
environment.lookup(sel).data;
});
return selector.selectors.map(
sel => environment.lookup(sel).data,
);
},
})
: prefetchingUNSTABLE_extraVariables,
Expand Down Expand Up @@ -346,9 +346,9 @@ hook usePrefetchableForwardPaginationFragment_EXPERIMENTAL<
'Expected a plural selector',
);
// $FlowFixMe[incompatible-call]
return selector.selectors.map(sel => {
environment.lookup(sel).data;
});
return selector.selectors.map(
sel => environment.lookup(sel).data,
);
},
})
: prefetchingUNSTABLE_extraVariables,
Expand Down

0 comments on commit 195d9a2

Please sign in to comment.