diff --git a/src/hooks/usePostComment.ts b/src/hooks/usePostComment.ts index 30fe3eb..84a2405 100644 --- a/src/hooks/usePostComment.ts +++ b/src/hooks/usePostComment.ts @@ -85,7 +85,7 @@ export function usePostComment() { onSuccess: (_, { root }) => { // Invalidate and refetch comments queryClient.invalidateQueries({ - queryKey: ['comments', root instanceof URL ? root.toString() : root.id] + queryKey: ['nostr', 'comments', root instanceof URL ? root.toString() : root.id] }); }, });