()
| 1709 | } |
| 1710 | |
| 1711 | function Inner() { |
| 1712 | const state = useInfiniteQuery({ |
| 1713 | queryKey: key, |
| 1714 | queryFn, |
| 1715 | getNextPageParam: () => undefined, |
| 1716 | initialPageParam: 0, |
| 1717 | }) |
| 1718 | return ( |
| 1719 | <div> |
| 1720 | <h1>Status: {state.status}</h1> |
| 1721 | </div> |
| 1722 | ) |
| 1723 | } |
| 1724 | |
| 1725 | function Page() { |
| 1726 | const [isVisible, setIsVisible] = React.useState(true) |
nothing calls this directly
no test coverage detected