import React from "react"; import { Link } from "react-router-dom"; import "./Card.css"; const Card = (props) => { let diff = props.diff.toString(); if (diff.charAt(0) != "-") { diff = "+" + diff; } return (

{props.latest}{" "}

{props.name}

); }; export default Card;