Remove legacy decorators syntax (#18357)
This commit is contained in:
committed by
GitHub
parent
503022d6f9
commit
d1b057a0ac
@ -94,7 +94,6 @@ export const fileNameFromURL = str => {
|
||||
return pathname.slice(index + 1);
|
||||
};
|
||||
|
||||
export default @injectIntl
|
||||
class Video extends React.PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
@ -655,3 +654,5 @@ class Video extends React.PureComponent {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default injectIntl(Video);
|
||||
|
Reference in New Issue
Block a user