()
| 1719 | } |
| 1720 | |
| 1721 | function Inner() { |
| 1722 | const state = useInfiniteQuery({ |
| 1723 | queryKey: key, |
| 1724 | queryFn, |
| 1725 | getNextPageParam: () => undefined, |
| 1726 | initialPageParam: 0, |
| 1727 | }) |
| 1728 | return ( |
| 1729 | <div> |
| 1730 | <h1>Status: {state.status}</h1> |
| 1731 | </div> |
| 1732 | ) |
| 1733 | } |
| 1734 | |
| 1735 | function Page() { |
| 1736 | const [isVisible, setIsVisible] = React.useState(true) |
nothing calls this directly
no test coverage detected