Skip to content

Commit

Permalink
Remove unnecessary space in pagination (#3576)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #3576

Test Plan:
Imported from GitHub, without a `Test Plan:` line.

|[Site Preview: relay](https://our.intern.facebook.com/intern/staticdocs/eph/D30675247/V2/relay/)

Reviewed By: alunyov

Differential Revision: D30675247

Pulled By: kassens

fbshipit-source-id: eb5259cca159b815608ead123d0c456a94559444
  • Loading branch information
watagit authored and facebook-github-bot committed Aug 31, 2021
1 parent 5d969a4 commit 9f640e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion website/docs/guided-tour/list-data/pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function FriendsListComponent(props: Props) {
module.exports = FriendsListComponent;
```
* `hasNext` is a boolean which indicates if the connection has more items available. This information can be useful for determining if different UI controls should be rendered. In our specific case, we only render the `Button` if there are more friends available in the connection .
* `hasNext` is a boolean which indicates if the connection has more items available. This information can be useful for determining if different UI controls should be rendered. In our specific case, we only render the `Button` if there are more friends available in the connection.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2242,7 +2242,7 @@ function FriendsListComponent(props: Props) {
module.exports = FriendsListComponent;
```
- `hasNext` is a boolean which indicates if the connection has more items available. This information can be useful for determining if different UI controls should be rendered. In our specific case, we only render the `Button` if there are more friends available in the connection .
- `hasNext` is a boolean which indicates if the connection has more items available. This information can be useful for determining if different UI controls should be rendered. In our specific case, we only render the `Button` if there are more friends available in the connection.
### Blocking ("all-at-once") Pagination
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function FriendsListComponent(props: Props) {
module.exports = FriendsListComponent;
```
* `hasNext` is a boolean which indicates if the connection has more items available. This information can be useful for determining if different UI controls should be rendered. In our specific case, we only render the `Button` if there are more friends available in the connection .
* `hasNext` is a boolean which indicates if the connection has more items available. This information can be useful for determining if different UI controls should be rendered. In our specific case, we only render the `Button` if there are more friends available in the connection.
Expand Down

0 comments on commit 9f640e2

Please sign in to comment.