summaryrefslogtreecommitdiffstats
path: root/frontend/components/Items.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/components/Items.js')
-rw-r--r--frontend/components/Items.js2
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