From 797181700c7b0747517f6b9c3d8939d125a2fd1e Mon Sep 17 00:00:00 2001 From: pixelzoom Date: Thu, 8 Sep 2022 08:09:29 -0600 Subject: [PATCH] remove unnecessary local variable and assertion, https://github.com/phetsims/ph-scale/issues/242 --- js/macro/view/MacroScreenView.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/macro/view/MacroScreenView.ts b/js/macro/view/MacroScreenView.ts index 4b3027d2..05c2b71c 100644 --- a/js/macro/view/MacroScreenView.ts +++ b/js/macro/view/MacroScreenView.ts @@ -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' ) } );