We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac9faac commit 701e41bCopy full SHA for 701e41b
src/library-authoring/data/apiHooks.ts
@@ -690,6 +690,7 @@ export const useRestoreContainer = (containerId: string) => {
690
return useMutation({
691
mutationFn: async () => api.restoreContainer(containerId),
692
onSettled: () => {
693
+ queryClient.invalidateQueries({ queryKey: libraryAuthoringQueryKeys.contentLibrary(libraryId) });
694
queryClient.invalidateQueries({ predicate: (query) => libraryQueryPredicate(query, libraryId) });
695
},
696
});
0 commit comments