Skip to content

Commit 749ffb5

Browse files
Merge pull request #6 from bayareawebpro/collections
Update Collection.js
2 parents 2480a8a + be61fa2 commit 749ffb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Support/Collection.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ class Collection {
151151
* @return void
152152
*/
153153
set perPage(value) {
154-
this.setState(Object.assign(this.state, {
154+
Object.assign(this.state, {
155155
per_page: this.perPageOptions.includes(value) ? value : 1,
156156
current_page: 1
157-
}))
157+
})
158158
}
159159
/**
160160
* (Getter) itemCount

0 commit comments

Comments
 (0)