Fixed listings/dashboard/rowElements/location.jsx eslint error (#6491)

* Fixed listings/dashboard/rowElements/location.jsx eslint error

* Update app/javascript/listings/dashboard/rowElements/location.jsx

Co-Authored-By: Nick Taylor <nick@iamdeveloper.com>

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
This commit is contained in:
Juan Vasquez 2020-03-09 15:39:22 -06:00 committed by GitHub
parent a66dc2693a
commit d461d83540
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,16 +2,11 @@ import PropTypes from 'prop-types';
import { h } from 'preact';
const Location = ({ location }) => {
return (
<span className="dashboard-listing-date">
{location}
</span>
)
}
return <span className="dashboard-listing-date">{location}</span>;
};
Location.propTypes = {
location: PropTypes.string.isRequired,
}
};
export default Location;
export default Location;