Upgrade Babel to version 7.0.0 (#5925)
This commit is contained in:
parent
64a5561b5a
commit
0ddbccf7e6
78 changed files with 2341 additions and 2276 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue