diff --git a/src/components/Navbar.js b/src/components/Navbar.js index 1c68caa..b968dd3 100644 --- a/src/components/Navbar.js +++ b/src/components/Navbar.js @@ -1,6 +1,9 @@ import React from "react"; +import { useSelector } from "react-redux"; const Navbar = () => { + const { amount } = useSelector((store) => store.cart); + console.log(amount); return (