Simplify shouldDisplayPagination

This commit is contained in:
Donato Aguirre
2021-01-17 11:36:47 -03:00
parent f55da865cc
commit d820287e8e

View File

@ -76,7 +76,7 @@ const shouldPaginatize = a > 10 // Made up verbs are so much fun!
/* Good */ /* Good */
const postCount = 5 const postCount = 5
const hasPagination = postCount > 10 const hasPagination = postCount > 10
const shouldDisplayPagination = postCount > 10 // alternatively const shouldPaginate = postCount > 10 // alternatively
``` ```
## Avoid contractions ## Avoid contractions