Upgrade Babel to version 7.0.0 (#5925)
This commit is contained in:
committed by
Eugen Rochko
parent
64a5561b5a
commit
0ddbccf7e6
@ -86,8 +86,8 @@ export const timeAgoString = (intl, date, now, year) => {
|
||||
return relativeTime;
|
||||
};
|
||||
|
||||
@injectIntl
|
||||
export default class RelativeTimestamp extends React.Component {
|
||||
export default @injectIntl
|
||||
class RelativeTimestamp extends React.Component {
|
||||
|
||||
static propTypes = {
|
||||
intl: PropTypes.object.isRequired,
|
||||
|
Reference in New Issue
Block a user