From de18dd2648e72f156da1b99ec945dae8b30b0b45 Mon Sep 17 00:00:00 2001 From: Sokovikov Date: Tue, 5 Jun 2018 05:52:18 -0700 Subject: [PATCH] skip dismiss all if all rows are hidden (#19564) Summary: Small fix based on https://github.com/facebook/react-native/pull/19501#issuecomment-394486884 No need to mention it [GENERAL] [BUGFIX] [YellowBox] - Message Closes https://github.com/facebook/react-native/pull/19564 Differential Revision: D8276808 Pulled By: hramos fbshipit-source-id: 59832d3d6e60ae30afbeb7c9303405746e9eec45 --- Libraries/ReactNative/YellowBox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/ReactNative/YellowBox.js b/Libraries/ReactNative/YellowBox.js index f1e756a8a..5ad6311b7 100644 --- a/Libraries/ReactNative/YellowBox.js +++ b/Libraries/ReactNative/YellowBox.js @@ -424,7 +424,7 @@ class YellowBox extends React.Component< ]; return ( - {!inspector && ( + {!inspector && rows.length > 0 && ( this.dismissWarning(null)}>