Svg not showing up

I had an svg on my navbar that was showing up but now replace it with another svg and its not showing up. I have checked the file path and name it is fine.

 <svg class="user-nav__icon">
                        <use xlink:href="img/sprite.svg#icon-bookmarks"></use>

3 posts were merged into an existing topic: Image and svg not loading on page