diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-05-25 14:06:53 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-05-25 14:06:53 -0400 |
| commit | 22635ea05dab85a71fa93dbb98f93da7670ef899 (patch) | |
| tree | b9e974dee484634d0401a9149c9a68f5537553db /frontend/components/Items.js | |
| parent | 549cfa77c9fec0936c3a8d87a49b69401cbfbd7a (diff) | |
Delete and Add refetch refinements
Diffstat (limited to 'frontend/components/Items.js')
| -rw-r--r-- | frontend/components/Items.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/components/Items.js b/frontend/components/Items.js index 394f16d..5694d0b 100644 --- a/frontend/components/Items.js +++ b/frontend/components/Items.js @@ -9,7 +9,7 @@ import LoadingItem from './LoadingItem'; import { perPage } from '../config'; const ALL_ITEMS_QUERY = gql` - query ALL_ITEMS_QUERY($skip: Int = 0, $first: Int = 4) { + query ALL_ITEMS_QUERY($skip: Int = 0, $first: Int = ${perPage}) { items(orderBy: createdAt_DESC, first: $first, skip: $skip) { __typename id |
