Move metrics / tracking / error analysis to flipper-common package
Summary: what else can I say move_complexity Reviewed By: passy Differential Revision: D31483414 fbshipit-source-id: 1692c792121a3aae0843eb238040cae0445cdf54
This commit is contained in:
committed by
Facebook GitHub Bot
parent
51bfc8f05d
commit
3e7a6b1b4b
@@ -52,7 +52,8 @@ import {PersistGate} from 'redux-persist/integration/react';
|
||||
// eslint-disable-next-line flipper/no-electron-remote-imports
|
||||
import {ipcRenderer, remote} from 'electron';
|
||||
import {helloWorld} from 'flipper-server-core';
|
||||
import {setLoggerInstance} from 'flipper-common';
|
||||
import {setLoggerInstance, setUserSessionManagerInstance} from 'flipper-common';
|
||||
import {internGraphPOSTAPIRequest} from './fb-stubs/user';
|
||||
|
||||
helloWorld();
|
||||
|
||||
@@ -207,6 +208,10 @@ function init() {
|
||||
else console.warn(msg, r.error);
|
||||
}
|
||||
});
|
||||
setUserSessionManagerInstance({
|
||||
internGraphPOSTAPIRequest,
|
||||
});
|
||||
|
||||
ReactDOM.render(
|
||||
<AppFrame logger={logger} persistor={persistor} />,
|
||||
document.getElementById('root'),
|
||||
|
||||
Reference in New Issue
Block a user