How to fix cart icon error in Ride theme header?

Hey friends, a while back I removed the cart icon from my theme header (Ride theme). From what I can remember, all I did was add the following code to my theme.liquid file:

<style>
      a#cart-icon-bubble {
          display: none;
      }
</style>

I’ve since commented that code out, and it successfully re-added the cart icon (empty state). However, the cart icon now displays this error when there are product(s) in cart:

I can’t figure out how to fix this. Any suggestions? TYSM!

You should create a duplicate theme or use version control before changing the code. Check if you still have icon-cart.liquid inside the snippets folder.

Thanks Fadi!

:+1: