Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Commit

Permalink
fix: reduce updates causing node popups to disappear
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Jun 13, 2019
1 parent 0e2c9c7 commit c10e99a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,6 @@ class App extends Component {
nodes.push(newNode);
modified = true;
}
// Always setState() at least once to ensure voteAccount updates are
// propagated.
// TODO: Don't bother updating vote accounts so much
modified = true;
maybeSetState();
}
maybeSetState();
Expand Down

0 comments on commit c10e99a

Please sign in to comment.