From a12b87cf56356fc8c41379f732164627b3890d69 Mon Sep 17 00:00:00 2001 From: Pavlo Buidenkov Date: Fri, 25 Sep 2020 15:01:02 +0300 Subject: [PATCH] show "Connect Test Device" button in production for now --- .../StepsOfStepper/IntermediateStep.tsx | 47 +++++++++++-------- 1 file changed, 28 insertions(+), 19 deletions(-) diff --git a/app/components/StepsOfStepper/IntermediateStep.tsx b/app/components/StepsOfStepper/IntermediateStep.tsx index 82bda9d..73245dc 100644 --- a/app/components/StepsOfStepper/IntermediateStep.tsx +++ b/app/components/StepsOfStepper/IntermediateStep.tsx @@ -1,3 +1,4 @@ +/* eslint-disable react/jsx-curly-brace-presence */ /* eslint-disable react/destructuring-assignment */ import React, { useContext } from 'react'; import { Button } from '@blueprintjs/core'; @@ -78,25 +79,33 @@ export default function IntermediateStep(props: IntermediateStepProps) { )} { - // eslint-disable-next-line no-nested-ternary - process.env.NODE_ENV === 'production' && - process.env.RUN_MODE !== 'dev' && - process.env.RUN_MODE !== 'test' ? ( - <> - ) : props.activeStep === 0 ? ( - // eslint-disable-next-line react/jsx-indent - - ) : ( - <> - ) + // // eslint-disable-next-line no-nested-ternary + // process.env.NODE_ENV === 'production' && + // process.env.RUN_MODE !== 'dev' && + // process.env.RUN_MODE !== 'test' ? ( + // <> + // ) : props.activeStep === 0 ? ( + // // eslint-disable-next-line react/jsx-indent + // + // ) : ( + // <> + // ) + // eslint-disable-next-line react/jsx-indent + } { /**/