mirror of
https://github.com/docmost/docmost.git
synced 2026-08-23 02:12:11 +10:00
chore(integration): document cache purge intent
This commit is contained in:
@@ -105,7 +105,7 @@ export function useDisconnectIntegration() {
|
||||
queryKey: ["integration-connection", variables.integrationId],
|
||||
});
|
||||
qc.invalidateQueries({ queryKey: ["my-connections"] });
|
||||
// removeQueries, not invalidate: refetchOnMount false would revive stale entries
|
||||
// removeQueries, not invalidate: refetchOnMount false leaves invalidated inactive queries unrefreshed
|
||||
qc.removeQueries({ queryKey: ["unfurl"] });
|
||||
},
|
||||
onError: (error) => {
|
||||
|
||||
Reference in New Issue
Block a user