Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwooding committed Feb 25, 2020
1 parent 059437e commit ba8697c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/material-ui-lab/src/TreeView/TreeView.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,11 @@ const TreeView = React.forwardRef(function TreeView(props, ref) {
let base = selected;
const { start, next, current } = nodes;

if(!next || !current){
if (!next || !current) {
return;
}

if (currentRangeSelection.current.indexOf(current) === -1){
if (currentRangeSelection.current.indexOf(current) === -1) {
currentRangeSelection.current = [];
}

Expand Down

0 comments on commit ba8697c

Please sign in to comment.