File tree 1 file changed +0
-15
lines changed
1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,8 @@ import RCTDeviceEventEmitter from '../EventEmitter/RCTDeviceEventEmitter';
13
13
import StyleSheet from '../StyleSheet/StyleSheet' ;
14
14
import { type EventSubscription } from '../vendor/emitter/EventEmitter' ;
15
15
import { RootTagContext , createRootTag } from './RootTag' ;
16
- import PropTypes from 'prop-types' ;
17
16
import * as React from 'react' ;
18
17
19
- type Context = { rootTag : number , ...} ;
20
-
21
18
type Props = $ReadOnly < { |
22
19
children ?: React . Node ,
23
20
fabric ?: boolean ,
@@ -45,18 +42,6 @@ class AppContainer extends React.Component<Props, State> {
45
42
46
43
static getDerivedStateFromError : any = undefined ;
47
44
48
- static childContextTypes :
49
- | any
50
- | { | rootTag : React$PropType$Primitive < number > | } = {
51
- rootTag : PropTypes . number ,
52
- } ;
53
-
54
- getChildContext ( ) : Context {
55
- return {
56
- rootTag : this . props . rootTag ,
57
- } ;
58
- }
59
-
60
45
componentDidMount ( ) : void {
61
46
if ( __DEV__ ) {
62
47
if ( ! global . __RCTProfileIsProfiling ) {
You can’t perform that action at this time.
0 commit comments