pl-fe: Move user lists away from immutable

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-11-06 12:56:09 +01:00
parent 563e5288fb
commit 0811af7ad7
20 changed files with 197 additions and 157 deletions

View File

@@ -28,7 +28,7 @@ const useAccountList = (listKey: string[], entityFn: EntityFn<void>) => {
getNextPageParam: (config) => config.next ? config : undefined,
});
const data = flattenPages<Account>(queryInfo.data as any)?.toReversed() || [];
const data = flattenPages<Account>(queryInfo.data as any) || [];
const { relationships } = useRelationships(
listKey,