浏览代码

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) => {