()
| 2 | import { useSelector, useDispatch } from 'react-redux' |
| 3 | |
| 4 | const Navbar = () => { |
| 5 | const count = useSelector((state) => state.counter.value) |
| 6 | |
| 7 | return ( |
| 8 | <div> |
| 9 | I am a navbar and counter is {count} |
| 10 | </div> |
| 11 | ) |
| 12 | } |
| 13 | |
| 14 | export default Navbar |
nothing calls this directly
no outgoing calls
no test coverage detected