File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -77,15 +77,15 @@ export default class HTML extends PureComponent {
77
77
} ;
78
78
}
79
79
80
- componentWillMount ( ) {
80
+ UNSAFE_componentWillMount ( ) {
81
81
this . generateDefaultStyles ( ) ;
82
82
}
83
83
84
84
componentDidMount ( ) {
85
85
this . registerDOM ( ) ;
86
86
}
87
87
88
- componentWillReceiveProps ( nextProps ) {
88
+ UNSAFE_componentWillReceiveProps ( nextProps ) {
89
89
const { html, uri, renderers } = this . props ;
90
90
91
91
this . generateDefaultStyles ( nextProps . baseFontStyle ) ;
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export default class HTMLImage extends PureComponent {
40
40
this . mounted = false ;
41
41
}
42
42
43
- componentWillReceiveProps ( nextProps ) {
43
+ UNSAFE_componentWillReceiveProps ( nextProps ) {
44
44
this . getImageSize ( nextProps ) ;
45
45
}
46
46
You can’t perform that action at this time.
0 commit comments