From d461d835405e023630bf694037fccef7efaea8df Mon Sep 17 00:00:00 2001 From: Juan Vasquez Date: Mon, 9 Mar 2020 15:39:22 -0600 Subject: [PATCH] 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 Co-authored-by: Nick Taylor --- .../listings/dashboard/rowElements/location.jsx | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/app/javascript/listings/dashboard/rowElements/location.jsx b/app/javascript/listings/dashboard/rowElements/location.jsx index fd7e57510..c946d2750 100644 --- a/app/javascript/listings/dashboard/rowElements/location.jsx +++ b/app/javascript/listings/dashboard/rowElements/location.jsx @@ -2,16 +2,11 @@ import PropTypes from 'prop-types'; import { h } from 'preact'; const Location = ({ location }) => { - return ( - - ・ - {location} - - ) -} + return ・{location}; +}; Location.propTypes = { location: PropTypes.string.isRequired, -} +}; -export default Location; \ No newline at end of file +export default Location;