fix sorting glitch

This commit is contained in:
anovazzi1 2024-04-24 18:01:20 -03:00
commit bafda23b6c

View file

@ -56,7 +56,7 @@ export default function ComponentsComponent({
const start = (pageIndex - 1) * pageSize;
const end = start + pageSize;
setData(all.slice(start, end));
}, [flows, isLoading, pageIndex, pageSize]);
}, [isLoading, pageIndex, pageSize]);
const [data, setData] = useState<FlowType[]>([]);