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:
parent
a66dc2693a
commit
d461d83540
1 changed files with 4 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue