import React from "react"; import copy from "../../../common/data/copy.json"; const CardLocation = ({ language, location, isPrecise }) => { if (location !== "") { return (

location_on {`${location}${isPrecise ? "" : " (Approximated)"}`}

); } else { const unknown = copy[language].cardstack.unknown_location; return (

location_on {unknown}

); } }; export default CardLocation;