From ab87033185b3bf9b08b69c8e0e3ed2cbc651376d Mon Sep 17 00:00:00 2001 From: Tim Yung Date: Wed, 20 Jan 2016 15:13:14 -0800 Subject: [PATCH] RN: Teach YellowBox to Count Reviewed By: kassens Differential Revision: D2846410 fb-gh-sync-id: 03127ff30cac54679ed0dbb225551efafb0cafa8 --- Libraries/ReactIOS/YellowBox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/ReactIOS/YellowBox.js b/Libraries/ReactIOS/YellowBox.js index 692cd4f6e..e1dddc145 100644 --- a/Libraries/ReactIOS/YellowBox.js +++ b/Libraries/ReactIOS/YellowBox.js @@ -83,7 +83,7 @@ function updateWarningMap(format, ...args): void { ].join(' '); const count = _warningMap.has(warning) ? _warningMap.get(warning) : 0; - _warningMap.set(warning, count + 2); + _warningMap.set(warning, count + 1); _warningEmitter.emit('warning', _warningMap); }