Skip to content

Commit

Permalink
remove unnecessary local variable and assertion, #242
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Sep 8, 2022
1 parent 7bf5123 commit 7971817
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions js/macro/view/MacroScreenView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@ export default class MacroScreenView extends ScreenView {
} );

// pH meter
const pHMeter = model.pHMeter;
assert && assert( pHMeter );
const pHMeterNode = new MacroPHMeterNode( pHMeter, model.solution, model.dropper,
const pHMeterNode = new MacroPHMeterNode( model.pHMeter, model.solution, model.dropper,
solutionNode, dropperFluidNode, waterFluidNode, drainFluidNode, modelViewTransform, {
tandem: options.tandem.createTandem( 'pHMeterNode' )
} );
Expand Down

0 comments on commit 7971817

Please sign in to comment.