mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
cleanup[Inspector]: remove unused code (#41292)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41292 Changelog: [Internal] Seems to be unused Reviewed By: javache Differential Revision: D50559548 fbshipit-source-id: 4bf7c27cb75e567c43adfa5aa4c120c67ef4dd5e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
dbd42d406c
commit
a1f2330ebb
@@ -57,8 +57,6 @@ class Inspector extends React.Component<
|
||||
...
|
||||
},
|
||||
> {
|
||||
_hideTimeoutID: TimeoutID | null = null;
|
||||
_subs: ?Array<() => void>;
|
||||
_setTouchedViewData: ?(TouchedViewDataAtPoint) => void;
|
||||
|
||||
constructor(props: Props) {
|
||||
@@ -77,10 +75,6 @@ class Inspector extends React.Component<
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
if (this._subs) {
|
||||
this._subs.map(fn => fn());
|
||||
}
|
||||
|
||||
this._setTouchedViewData = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user