1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Fix wrong query key

This commit is contained in:
xmflsct
2022-12-04 16:16:53 +01:00
parent fc06e4c629
commit b70ca924a1
3 changed files with 7 additions and 5 deletions

View File

@ -48,8 +48,8 @@ const TabSharedAccountInLists: React.FC<
id: 'out',
title: t('shared.accountInLists.notInLists'),
data:
listsQuery?.data?.filter(
({ id }) => !accountInListsQuery?.data?.filter(d => d.id === id)?.length
listsQuery.data?.filter(
({ id }) => accountInListsQuery.data?.filter(d => d.id !== id).length
) || []
}
]