@bodynarf/react.components 1.4.26 → 1.4.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@
7
7
  * @returns Array of nearest numbers to current page
8
8
  */
9
9
  export const generatePageNumbers = (page, count, size = 3) => {
10
- if (page < 0 || count <= 0 || page > count || size > count) {
10
+ if (page < 0 || count <= 0 || page > count) {
11
11
  return [];
12
12
  }
13
13
  return [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bodynarf/react.components",
3
- "version": "1.4.26",
3
+ "version": "1.4.27",
4
4
  "author": {
5
5
  "name": "Artem",
6
6
  "email": "bodynar@gmail.com"