From 30eb430b4a08d6244bce23799c312301d7919ad1 Mon Sep 17 00:00:00 2001 From: syedghousemohiddin <119524179+syedghousemohiddin@users.noreply.github.com> Date: Thu, 16 Mar 2023 00:29:12 -0700 Subject: [PATCH] CEC-AddDebugMaskToPrd - allow DebugMask on prd (#290) (#291) Co-authored-by: Paul Adamsen <117673433+pauladamseniii@users.noreply.github.com> --- src/components/Cars/Status/Details/index.jsx | 2 +- src/components/Cars/Update/index.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Cars/Status/Details/index.jsx b/src/components/Cars/Status/Details/index.jsx index 6307310..ac34a8a 100644 --- a/src/components/Cars/Status/Details/index.jsx +++ b/src/components/Cars/Status/Details/index.jsx @@ -33,7 +33,7 @@ const MainForm = ({ vin }) => { } = useUserContext(); const ENV = process.env.REACT_APP_ENV; - const showDebugMask = (ENV === 'local' || ENV === 'dev' || ENV === 'stg') + const showDebugMask = (ENV === 'local' || ENV === 'dev' || ENV === 'stg' || ENV === 'prd') useEffect(() => { (async () => { diff --git a/src/components/Cars/Update/index.jsx b/src/components/Cars/Update/index.jsx index 5302f33..cdbf11d 100644 --- a/src/components/Cars/Update/index.jsx +++ b/src/components/Cars/Update/index.jsx @@ -49,7 +49,7 @@ const MainForm = () => { const debugMaskEl = useRef(null); const ENV = process.env.REACT_APP_ENV; - const showDebugMask = (ENV === 'local' || ENV === 'dev' || ENV === 'stg') + const showDebugMask = (ENV === 'local' || ENV === 'dev' || ENV === 'stg' || ENV === 'prd') useEffect(() => { setTitle("Update Vehicle");