diff --git a/App.js b/App.js index ff3e580..f286115 100644 --- a/App.js +++ b/App.js @@ -81,11 +81,16 @@ function App() { const ReqButton = () => { const mutation = useMutation({ mutationKey: ["addTodo"] }); + const query = useQuery({ queryKey: ["todos"], queryFn: () => makeCall("a") }); + return ( -