tangled
alpha
login
or
join now
cosmik.network
/
semble
43
fork
atom
A social knowledge tool for researchers built on ATProto
43
fork
atom
overview
issues
13
pulls
pipelines
fix: card mutation query keys
Pouria Delfanazari
4 months ago
dc8121a8
34b3f307
+1
1 changed file
expand all
collapse all
unified
split
src
webapp
features
cards
lib
mutations
useUpdateCardAssociations.tsx
+1
src/webapp/features/cards/lib/mutations/useUpdateCardAssociations.tsx
···
26
26
onSuccess: (_data, variables) => {
27
27
queryClient.invalidateQueries({ queryKey: cardKeys.all() });
28
28
queryClient.invalidateQueries({ queryKey: collectionKeys.mine() });
29
29
+
queryClient.invalidateQueries({ queryKey: collectionKeys.infinite() });
29
30
30
31
// invalidate each collection query individually
31
32
variables.addToCollectionIds?.forEach((id) => {