Add delete/patch todos
This commit is contained in:
@ -29,7 +29,7 @@ export const CreateTodo = () => {
|
||||
type: "success",
|
||||
});
|
||||
queryClient.invalidateQueries({
|
||||
queryKey: ["GUILD_TODO"],
|
||||
queryKey: ["GUILD_TODOS", guild],
|
||||
});
|
||||
setRecentlyCreated(true);
|
||||
setTimeout(() => {
|
||||
@ -39,8 +39,6 @@ export const CreateTodo = () => {
|
||||
},
|
||||
});
|
||||
|
||||
console.log(newTodo);
|
||||
|
||||
return (
|
||||
<div class="todo">
|
||||
<textarea
|
||||
|
Reference in New Issue
Block a user