Skip to content

Commit

Permalink
Update Navbar.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ramith-kulal committed Feb 19, 2024
1 parent 404b6d8 commit 9dc7dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Navbar/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const Navbar = () => {
<div className="nav-cart-count">{getTotalCartItems()}</div>
<div className='dark_btn'>
<button onClick={toggle} className={`toggle_${theme} change`}>
{theme === 'light' ? <img src={moonIcon} alt="Moon" /> : <img src={sunIcon} alt="Sun" />}
{theme === 'light' ? <img src={sunIcon} /> : <img src={moonIcon} />}
</button>
</div>
</div>
Expand Down

0 comments on commit 9dc7dd6

Please sign in to comment.