message: fix: add check to re-render only if underlying layers change
diff: * under the License.
  */
  import React from 'react';
  +import _ from 'lodash';
  import PropTypes from 'prop-types';
  import { SupersetClient } from '@superset-ui/connection';
  @@ -53,8 +54,11 @@ class DeckMulti extends React.PureComponent {
  componentWillReceiveProps(nextProps) {
  const { formData, payload } = nextProps;
  + const hasChanges = !_.isEqual(this.props.formData.deck_slices, nextProps.formData.deck_slices);
  + if (hasChanges) {
  this.loadLayers(formData, payload);
  }
  + }
  onViewportChange(viewport) {
  this.setState({ viewport });
  