Adding a key prop seems to fix svg size

Adds key prop to icon <img /> tag and removes unused code.