mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
JS: Format with Prettier v2.4.1 [3/n]
Summary: Changelog: [General][Internal] Reviewed By: zertosh Differential Revision: D31883447 fbshipit-source-id: cbbf85e4bf935096d242336f41bf0cc5d6f92359
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4e587a1b7d
commit
77ecc7ede1
@@ -12,13 +12,12 @@ import NativeJSDevSupport from './NativeJSDevSupport';
|
||||
const ReactNative = require('../Renderer/shims/ReactNative');
|
||||
|
||||
const JSDevSupportModule = {
|
||||
getJSHierarchy: function(tag: number) {
|
||||
getJSHierarchy: function (tag: number) {
|
||||
if (NativeJSDevSupport) {
|
||||
const constants = NativeJSDevSupport.getConstants();
|
||||
try {
|
||||
const {
|
||||
computeComponentStackForErrorReporting,
|
||||
} = ReactNative.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
||||
const {computeComponentStackForErrorReporting} =
|
||||
ReactNative.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
||||
const componentStack = computeComponentStackForErrorReporting(tag);
|
||||
if (!componentStack) {
|
||||
NativeJSDevSupport.onFailure(
|
||||
|
||||
Reference in New Issue
Block a user