diff --git a/resources/scripts/api/admin/nests/getNests.ts b/resources/scripts/api/admin/nests/getNests.ts index 548ed2dba..095c5800b 100644 --- a/resources/scripts/api/admin/nests/getNests.ts +++ b/resources/scripts/api/admin/nests/getNests.ts @@ -42,7 +42,13 @@ export default (include: string[] = []) => { const { page } = useContext(Context); return useSWR>([ 'nests', page ], async () => { - const { data } = await http.get('/api/application/nests', { params: { include: include.join(','), page } }); + const { data } = await http.get('/api/application/nests', { + params: { + include: include.join(','), + per_page: 10, + page, + }, + }); return ({ items: (data.data || []).map(rawDataToNest),