Add back dispatch (#31602)

This commit is contained in:
Aaron Caldwell 2019-02-20 13:11:31 -07:00 committed by GitHub
parent 425539e122
commit 23830e228c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ function mapStateToProps(state = {}) {
function mapDispatchToProps(dispatch) {
return {
closeFlyout: () => {
clearTransientLayerStateAndCloseFlyout();
dispatch(clearTransientLayerStateAndCloseFlyout());
},
previewLayer: layer => {
dispatch(addLayer(layer.toLayerDescriptor()));