(props)
| 143 | } |
| 144 | |
| 145 | export function Main(props) { |
| 146 | // Reset key when page changes. This causes the content to scroll to the top. |
| 147 | let {currentPage} = useRouter(); |
| 148 | return <main key={currentPage.url} {...props} />; |
| 149 | } |
nothing calls this directly
no test coverage detected