()
| 1656 | } |
| 1657 | |
| 1658 | function Inner() { |
| 1659 | const state = useInfiniteQuery({ |
| 1660 | queryKey: key, |
| 1661 | queryFn, |
| 1662 | getNextPageParam: () => undefined, |
| 1663 | initialPageParam: 0, |
| 1664 | }) |
| 1665 | return ( |
| 1666 | <div> |
| 1667 | <h1>Status: {state.status}</h1> |
| 1668 | </div> |
| 1669 | ) |
| 1670 | } |
| 1671 | |
| 1672 | function Page() { |
| 1673 | const [isVisible, setIsVisible] = useState(true) |
nothing calls this directly
no test coverage detected