Skip to content

Commit

Permalink
hexagon layer always rerender (#1384)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress authored and jianhuang01 committed Feb 8, 2018
1 parent e05ee86 commit 5956afc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/core-layers/hexagon-layer/hexagon-layer.js
Expand Up @@ -125,10 +125,6 @@ export default class HexagonLayer extends CompositeLayer {
};
}

shouldUpdateState({changeFlags}) {
return changeFlags.somethingChanged;
}

updateState({oldProps, props, changeFlags}) {
const dimensionChanges = this.getDimensionChanges(oldProps, props);

Expand Down

0 comments on commit 5956afc

Please sign in to comment.