relayjs / relay-examples

A collection of sample Relay applications
MIT License
1.14k stars 433 forks source link

fix: Update LoadMoreCommentsButton.tsx component name #272

Closed kendepelchin closed 1 year ago

kendepelchin commented 1 year ago

According to the docs on https://relay.dev/docs/tutorial/connections-pagination/ the example used states the following code example:

{data.comments.pageInfo.hasNextPage && (
    <LoadMoreCommentsButton onClick={onLoadMore} />
)}

Renamed component to match example.