Parcourir la source

fix(web): set events api limit to 25

Paul Armstrong il y a 4 ans
Parent
commit
3c60aeeef9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      web/src/routes/Events.jsx

+ 1 - 1
web/src/routes/Events.jsx

@@ -10,7 +10,7 @@ import { FetchStatus, useApiHost, useConfig, useEvents } from '../api';
 import { Table, Thead, Tbody, Tfoot, Th, Tr, Td } from '../components/Table';
 import { useCallback, useEffect, useMemo, useReducer, useState } from 'preact/hooks';
 
-const API_LIMIT = 5;
+const API_LIMIT = 25;
 
 const initialState = Object.freeze({ events: [], reachedEnd: false, searchStrings: {} });
 const reducer = (state = initialState, action) => {