fix invalid line removal from card component example

wrong part was deleted from the example