Skip to content

Commit

Permalink
"Fix: Correct empty cart count from 7 to 0 in navbar.jsx"
Browse files Browse the repository at this point in the history
  • Loading branch information
ShilpaPandey26 authored Sep 26, 2024
1 parent 86b5a18 commit 45acb02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ function Navbar() {
>
<IoCartOutline className="text-dark_theme size-8 hidden md:block mr-1" />
<div className="absolute bottom-4 left-4 border border-main_theme rounded-full cursor-pointer z-50 bg-main_theme/90 text-light_theme">
<span className="px-2 py-2 text-xs font-medium">7</span>
<span className="px-2 py-2 text-xs font-medium">0</span>
</div>
</div>

Expand Down Expand Up @@ -249,7 +249,7 @@ function Navbar() {
>
<IoCartOutline className="text-dark_theme size-8 mr-1" />
<div className="absolute bottom-4 left-4 border border-main_theme rounded-full cursor-pointer z-50 bg-main_theme/90 text-light_theme">
<span className="px-2 py-2 text-xs font-medium">7</span>
<span className="px-2 py-2 text-xs font-medium">0</span>
</div>
</div>
</div>
Expand Down

0 comments on commit 45acb02

Please sign in to comment.