Remove legacy decorators syntax (#18357)
This commit is contained in:
parent
503022d6f9
commit
d1b057a0ac
137 changed files with 396 additions and 236 deletions
|
@ -25,8 +25,6 @@ const mapStateToProps = (state, { statusId }) => ({
|
|||
language: state.getIn(['statuses', statusId, 'language']),
|
||||
});
|
||||
|
||||
export default @connect(mapStateToProps, null, null, { forwardRef: true })
|
||||
@injectIntl
|
||||
class MediaModal extends ImmutablePureComponent {
|
||||
|
||||
static propTypes = {
|
||||
|
@ -257,3 +255,5 @@ class MediaModal extends ImmutablePureComponent {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
export default connect(mapStateToProps, null, null, { forwardRef: true })(injectIntl(MediaModal));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue