Closed LaythAlqadhi closed 11 months ago
There's a typo in the snippet, exactly in the line <div class="cart-icon">{cartItemsCount}</div>, where it should be <div className="cart-icon">{cartItemsCount}</div>.
<div class="cart-icon">{cartItemsCount}</div>
<div className="cart-icon">{cartItemsCount}</div>
Node / JS
https://www.theodinproject.com/lessons/node-path-react-new-managing-state-with-the-context-api
No response
@LaythAlqadhi that definitely is a typo. Please create a pull request
A typo in the snippet
There's a typo in the snippet, exactly in the line
<div class="cart-icon">{cartItemsCount}</div>
, where it should be<div className="cart-icon">{cartItemsCount}</div>
.Path
Node / JS
Lesson Url
https://www.theodinproject.com/lessons/node-path-react-new-managing-state-with-the-context-api
Checks
(Optional) Discord Name
No response
(Optional) Additional Comments
No response