Преглед изворни кода

fix(web): set events api limit to 25

Paul Armstrong пре 4 година
родитељ
комит
3c60aeeef9
1 измењених фајлова са 1 додато и 1 уклоњено
  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) => {