From 701d9cb102d532e3b21ab667ec8028e08c5e489a Mon Sep 17 00:00:00 2001 From: Mark Miyashita Date: Tue, 8 Aug 2017 15:12:01 -0700 Subject: [PATCH] Remove debugger statement to allow invariant to be called properly --- src/flattenStyle.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/flattenStyle.js b/src/flattenStyle.js index d0a1699..7a54ad0 100644 --- a/src/flattenStyle.js +++ b/src/flattenStyle.js @@ -32,7 +32,6 @@ import type { StyleObj } from 'StyleSheetTypes'; function getStyle(style) { if (style && typeof style === 'number') { - debugger; invariant(false, "Error when using Navigator from react-native-custom-components. Please provide a raw object to `props.sceneStyle` instead of a StyleSheet reference."); } return style; @@ -60,4 +59,4 @@ function flattenStyle(style: ?StyleObj): ?Object { return result; } -module.exports = flattenStyle; \ No newline at end of file +module.exports = flattenStyle;