pl-fe: fix groups

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2025-10-23 14:57:05 +02:00
parent 6e252024e7
commit a2fadf1d21

View File

@ -13,7 +13,7 @@ const useGroupRelationships = (listKey: string[], groupIds: string[]) => {
client.experimental.groups.getGroupRelationships(groupIds);
const { entityMap: relationships, ...result } = useBatchedEntities<GroupRelationship>(
[Entities.RELATIONSHIPS, ...listKey],
[Entities.GROUP_RELATIONSHIPS, ...listKey],
groupIds,
fetchGroupRelationships,
{ enabled: isLoggedIn },