diff --git a/src/Routes/NewNote/NewNote.tsx b/src/Routes/NewNote/NewNote.tsx index 54a0fef..d680bb5 100644 --- a/src/Routes/NewNote/NewNote.tsx +++ b/src/Routes/NewNote/NewNote.tsx @@ -24,6 +24,7 @@ export default function NewNote() { mutationFn: AddNote, onSuccess: () => { queryClient.invalidateQueries("notes"); + queryClient.invalidateQueries("public_notes"); }, });