diff --git a/src/routes/cases.index.tsx b/src/routes/cases.index.tsx index 423c392..6099ea6 100644 --- a/src/routes/cases.index.tsx +++ b/src/routes/cases.index.tsx @@ -44,6 +44,8 @@ function CasesList() { const [assignAttorney, setAssignAttorney] = useState(""); const [assignClient, setAssignClient] = useState(""); const [busy, setBusy] = useState(false); + const [page, setPage] = useState(1); + const PAGE_SIZE = 150; const load = async () => { const { data: caseRows } = await supabase