diff --git a/packages/react-relay/relay-hooks/useLoadMoreFunction.js b/packages/react-relay/relay-hooks/useLoadMoreFunction.js index acb04a6d58d35..97041843c3c7f 100644 --- a/packages/react-relay/relay-hooks/useLoadMoreFunction.js +++ b/packages/react-relay/relay-hooks/useLoadMoreFunction.js @@ -214,7 +214,7 @@ function useLoadMoreFunction( identifierValue, ); } - paginationVariables.id = identifierValue; + paginationVariables[identifierField] = identifierValue; } const paginationQuery = createOperationDescriptor(