()
| 1734 | } |
| 1735 | |
| 1736 | function Inner() { |
| 1737 | const state = useInfiniteQuery({ |
| 1738 | queryKey: key, |
| 1739 | queryFn, |
| 1740 | getNextPageParam: () => undefined, |
| 1741 | initialPageParam: 0, |
| 1742 | }) |
| 1743 | return ( |
| 1744 | <div> |
| 1745 | <h1>Status: {state.status}</h1> |
| 1746 | </div> |
| 1747 | ) |
| 1748 | } |
| 1749 | |
| 1750 | function Page() { |
| 1751 | const [isVisible, setIsVisible] = React.useState(true) |
nothing calls this directly
no test coverage detected