fix sorting glitch
This commit is contained in:
parent
ed10322af2
commit
bafda23b6c
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ export default function ComponentsComponent({
|
||||||
const start = (pageIndex - 1) * pageSize;
|
const start = (pageIndex - 1) * pageSize;
|
||||||
const end = start + pageSize;
|
const end = start + pageSize;
|
||||||
setData(all.slice(start, end));
|
setData(all.slice(start, end));
|
||||||
}, [flows, isLoading, pageIndex, pageSize]);
|
}, [isLoading, pageIndex, pageSize]);
|
||||||
|
|
||||||
const [data, setData] = useState<FlowType[]>([]);
|
const [data, setData] = useState<FlowType[]>([]);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue