From 8089139fcd7770b586cc744ecbc598b0e2c7ac5c Mon Sep 17 00:00:00 2001 From: samreid Date: Mon, 21 Dec 2020 21:04:11 -0700 Subject: [PATCH] Remove unnecessary TODO, see https://github.com/phetsims/circuit-construction-kit-common/issues/531 --- js/view/ClearDynamicsButton.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/view/ClearDynamicsButton.js b/js/view/ClearDynamicsButton.js index fae53bc4..dc214f22 100644 --- a/js/view/ClearDynamicsButton.js +++ b/js/view/ClearDynamicsButton.js @@ -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(); }