Skip to content

Commit

Permalink
Remove unnecessary TODO, see #531
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Dec 22, 2020
1 parent 7b12daf commit 8089139
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions js/view/ClearDynamicsButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ class ClearDynamicsButton extends CCKCRoundPushButton {
} ),
listener: () => {
const dynamicCircuitElement = circuit.selectedCircuitElementProperty.value;

// TODO: Should this be an assertion instead? See other cases from CircuitElementContainerNode as well
if ( dynamicCircuitElement instanceof DynamicCircuitElement ) {
dynamicCircuitElement.clear();
}
Expand Down

0 comments on commit 8089139

Please sign in to comment.