Skip to content

Commit

Permalink
🚧 fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin committed Oct 17, 2024
1 parent 019ca4e commit e2d2658
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/tree/reactD3Interface/change.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ export const changePhyloTreeViaPropsComparison = (mainTree, phylotree, oldProps,
args.updateLayout = true;
}
/* re-focus on changes */
else if (oldProps.focus == true
&& newProps.focus == true
&& (zoomChange || dateRangeChange || filterChange)) {
else if (oldProps.focus == true &&
newProps.focus == true &&
(zoomChange || dateRangeChange || filterChange)) {
args.newFocus = true;
args.updateLayout = true;
}
Expand Down

0 comments on commit e2d2658

Please sign in to comment.