Fix sandbox plugin initialisation
Summary: Fixes https://github.com/facebook/flipper/issues/1515 Reviewed By: passy Differential Revision: D23572769 fbshipit-source-id: a541e2b4f626f520f39d21c3bf05d43ed919feb8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
aeebec5cd7
commit
fdf9570cb7
@@ -73,7 +73,7 @@ export default class SandboxView extends FlipperPlugin<
|
||||
|
||||
init() {
|
||||
this.client.call('getSandbox', {}).then((results: Array<Sandbox>) => {
|
||||
this.dispatchAction({results, type: 'UpdateSandboxes'});
|
||||
this.setState({sandboxes: results});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user