From 3c60aeeef9f23249713113ae7964c56b1fc5b325 Mon Sep 17 00:00:00 2001 From: Paul Armstrong Date: Tue, 23 Feb 2021 09:19:51 -0800 Subject: [PATCH] fix(web): set events api limit to 25 --- web/src/routes/Events.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/routes/Events.jsx b/web/src/routes/Events.jsx index 7af75bb51..76bce3d8e 100644 --- a/web/src/routes/Events.jsx +++ b/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) => {