Add 'Redux State' to bug reports

Summary:
Now the BugReporter has access to the logs and the redux store, to submit more useful bug reports.
This isn't currently used in open source, unless you override / replace this file.

Reviewed By: danielbuechele

Differential Revision: D13058210

fbshipit-source-id: e52a3cb528693ab171843080685e5342e0b6a393
This commit is contained in:
John Knox
2018-11-14 05:47:18 -08:00
committed by Facebook Github Bot
parent 533c1ab59b
commit 9f13e1422b
3 changed files with 5 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ const store = createStore(
persistStore(store);
const logger = new Logger();
const bugReporter = new BugReporter(logger);
const bugReporter = new BugReporter(logger, store);
dispatcher(store, logger);
GK.init();
setupMenuBar();