mirror of
https://github.com/docmost/docmost.git
synced 2025-11-22 08:11:08 +10:00
fix profile image
This commit is contained in:
@ -45,7 +45,7 @@ export function useCreateCommentMutation() {
|
||||
//queryClient.setQueryData(RQ_KEY(data.pageId), comments);
|
||||
//}
|
||||
|
||||
queryClient.invalidateQueries({ queryKey: RQ_KEY(data.pageId) });
|
||||
queryClient.refetchQueries({ queryKey: RQ_KEY(data.pageId) });
|
||||
notifications.show({ message: "Comment created successfully" });
|
||||
},
|
||||
onError: (error) => {
|
||||
|
||||
Reference in New Issue
Block a user