Remove postedOn from list
This commit is contained in:
@ -1,7 +1,6 @@
|
|||||||
import React, { PropTypes } from 'react';
|
import React, { PropTypes } from 'react';
|
||||||
import classnames from 'classnames';
|
import classnames from 'classnames';
|
||||||
import { ListGroup, ListGroupItem } from 'react-bootstrap';
|
import { ListGroup, ListGroupItem } from 'react-bootstrap';
|
||||||
import moment from 'moment';
|
|
||||||
|
|
||||||
export default React.createClass({
|
export default React.createClass({
|
||||||
displayName: 'ListJobs',
|
displayName: 'ListJobs',
|
||||||
@ -17,7 +16,7 @@ export default React.createClass({
|
|||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<span className='hidden-xs hidden-sm'>
|
<span className='hidden-xs hidden-sm'>
|
||||||
{ locale } - {' '}
|
{ locale }
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
@ -32,7 +31,6 @@ export default React.createClass({
|
|||||||
company,
|
company,
|
||||||
position,
|
position,
|
||||||
isHighlighted,
|
isHighlighted,
|
||||||
postedOn,
|
|
||||||
locale
|
locale
|
||||||
}) => {
|
}) => {
|
||||||
|
|
||||||
@ -59,7 +57,6 @@ export default React.createClass({
|
|||||||
className='pull-right'
|
className='pull-right'
|
||||||
style={{ display: 'inline-block' }}>
|
style={{ display: 'inline-block' }}>
|
||||||
{ this.addLocation(locale) }
|
{ this.addLocation(locale) }
|
||||||
{ moment(new Date(postedOn)).format('MMM Do') }
|
|
||||||
</h4>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
</ListGroupItem>
|
</ListGroupItem>
|
||||||
|
Reference in New Issue
Block a user