From 8eaf05e0e835427c9231a6dd570c2819547959ac Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Fri, 10 Jul 2020 14:11:32 +0100 Subject: [PATCH] DevTools: Make break-on-warn off by default (#19309) --- packages/react-devtools-shared/src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-devtools-shared/src/utils.js b/packages/react-devtools-shared/src/utils.js index 2bbf7d8b2454d..3472e2c6dba9c 100644 --- a/packages/react-devtools-shared/src/utils.js +++ b/packages/react-devtools-shared/src/utils.js @@ -258,7 +258,7 @@ export function getBreakOnConsoleErrors(): boolean { return JSON.parse(raw); } } catch (error) {} - return true; + return false; } export function setBreakOnConsoleErrors(value: boolean): void {