MCPcopy Create free account
hub / github.com/CodeWithHarry/Sigma-Web-Dev-Course / Navbar

Function Navbar

Video 120/src/components/Navbar.jsx:4–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import { useSelector, useDispatch } from 'react-redux'
3
4const 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
14export default Navbar

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected