Add wrapper support for import / export states
Summary: Make sure custom export handlers of classic plugins wrapped in Sandy are respected Reviewed By: passy Differential Revision: D29233604 fbshipit-source-id: 7bab33af3422e0b59697438577906ce8580a28ad
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e40faaef3f
commit
806dd63f68
@@ -84,12 +84,12 @@ export default class LayoutPlugin extends FlipperPlugin<
|
||||
| undefined
|
||||
| ((method: ClientMethodCalls, params?: any) => Promise<any>),
|
||||
persistedState: PersistedState | undefined,
|
||||
store: ReduxState | undefined,
|
||||
_store: ReduxState | undefined,
|
||||
_idler?: Idler | undefined,
|
||||
statusUpdate?: (msg: string) => void,
|
||||
supportsMethod?: (method: ClientMethodCalls) => Promise<boolean>,
|
||||
): Promise<PersistedState | undefined> => {
|
||||
if (!store || !callClient) {
|
||||
if (!callClient) {
|
||||
return persistedState;
|
||||
}
|
||||
statusUpdate && statusUpdate('Fetching Root Node...');
|
||||
|
||||
Reference in New Issue
Block a user