React: importing an .svg file as an img src for a component, does not render inside img
Inside of an react <Link> component, I have an <img>, whose src is being pointed to an imported component (the svg file), called logo.
However the svg is not rendering onscreen.
GIT: https://github.com/nnall/GoWithGig-Nick.git
GitHub
GitHub - nnall/GoWithGig-Nick
Contribute to nnall/GoWithGig-Nick development by creating an account on GitHub.
1 Reply
what's it look like in devtools (rendered)