Use Class and Property Decorators (#3730)
ref https://tc39.github.io/proposal-decorators/
This commit is contained in:
committed by
Eugen Rochko
parent
0c44316b22
commit
c1a8e3d1eb
@ -12,7 +12,7 @@ import { FormattedDate, FormattedNumber } from 'react-intl';
|
||||
import CardContainer from '../containers/card_container';
|
||||
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||
|
||||
class DetailedStatus extends ImmutablePureComponent {
|
||||
export default class DetailedStatus extends ImmutablePureComponent {
|
||||
|
||||
static contextTypes = {
|
||||
router: PropTypes.object,
|
||||
@ -87,5 +87,3 @@ class DetailedStatus extends ImmutablePureComponent {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default DetailedStatus;
|
||||
|
Reference in New Issue
Block a user