Add back dispatch (#31602) (#31615)

This commit is contained in:
Aaron Caldwell 2019-02-20 14:45:57 -07:00 committed by GitHub
parent 2b4a5fbb3f
commit 9bd97a4016
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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