Skip to content

Commit d820287

Browse files
Simplify shouldDisplayPagination
1 parent f55da86 commit d820287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const shouldPaginatize = a > 10 // Made up verbs are so much fun!
7676
/* Good */
7777
const postCount = 5
7878
const hasPagination = postCount > 10
79-
const shouldDisplayPagination = postCount > 10 // alternatively
79+
const shouldPaginate = postCount > 10 // alternatively
8080
```
8181

8282
## Avoid contractions

0 commit comments

Comments
 (0)