diff --git a/examples/nextjs/src/components/Todos.tsx b/examples/nextjs/src/components/Todos.tsx index dc14868d1..d0a8d7fc1 100755 --- a/examples/nextjs/src/components/Todos.tsx +++ b/examples/nextjs/src/components/Todos.tsx @@ -7,7 +7,6 @@ interface TodosProps {} const Todos: React.FC = () => { const { data, error, loading } = useQueryTodo({ functionName: "getAllTodos", - args: [], refetchOnMount: true, refetchInterval: 5000 }) diff --git a/examples/nextjs/src/service/todo.ts b/examples/nextjs/src/service/todo.ts index 9eab96b7c..e674280a7 100755 --- a/examples/nextjs/src/service/todo.ts +++ b/examples/nextjs/src/service/todo.ts @@ -7,5 +7,6 @@ export const { useUpdateCall: useUpdateTodo } = createActorContext({ idlFactory, - canisterId + canisterId, + withDevtools: true })