react-tinder-card
react-tinder-card copied to clipboard
Convert className toString to work for SVGs
This is an important fix. This is still broken when pressing on an SVG in the React tinder card
The SVG doesn't have className so instead null is sent which causes an exception. The solution is to getAttribute("class") instead.