import { useSuspenseQuery } from "@tanstack/react-query";

export default function Component() {
  const info = useSuspenseQuery({
    queryKey: ["todos"],
    queryFn: async () => {
      await new Promise((r) => setTimeout(r, 3000));
      return { data: "todos" };
    },
  });

  console.log(info);
  return <>users index</>;
}
