Skip to content

Commit

Permalink
address REVIEW comment, see #109
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Mar 3, 2025
1 parent 14a8192 commit 0ef8569
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions js/photons/view/PhotonTestingArea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* @author John Blanco, PhET Interactive Simulations
*/

import PhetioProperty from '../../../../axon/js/PhetioProperty.js';
import Vector2 from '../../../../dot/js/Vector2.js';
import optionize, { EmptySelfOptions } from '../../../../phet-core/js/optionize.js';
import WithRequired from '../../../../phet-core/js/types/WithRequired.js';
Expand Down Expand Up @@ -51,9 +50,7 @@ class PhotonTestingArea extends Node {

const particleBehaviorModeRadioButtonGroupTandem = providedOptions.tandem.createTandem( 'particleBehaviorModeRadioButtonGroup' );
const particleBehaviorModeRadioButtonGroup = new AquaRadioButtonGroup<SystemType>(

// REVIEW: Why do you need this type assertion?
model.particleBehaviorModeProperty as PhetioProperty<SystemType>,
model.particleBehaviorModeProperty,
SystemType.enumeration.values.map( behaviorMode => {
return {
value: behaviorMode,
Expand Down

0 comments on commit 0ef8569

Please sign in to comment.