({counter, dispatch})
| 6 | import Clock from './shared/Clock'; |
| 7 | |
| 8 | export default function HomePage({counter, dispatch}) { |
| 9 | const theme = useContext(ThemeContext); |
| 10 | return ( |
| 11 | <> |
| 12 | <h2>src/modern/HomePage.js</h2> |
| 13 | <h3 style={{color: theme}}> |
| 14 | This component is rendered by the outer React ({React.version}). |
| 15 | </h3> |
| 16 | <Clock /> |
| 17 | <b> |
| 18 | <Link to="/about">Go to About</Link> |
| 19 | </b> |
| 20 | </> |
| 21 | ); |
| 22 | } |
nothing calls this directly
no test coverage detected