From 40ea9c0c4f01078b000b710c34155d47b54d3d29 Mon Sep 17 00:00:00 2001 From: Tobias Date: Thu, 17 Mar 2022 15:48:25 +0100 Subject: [PATCH] Add comment about process.env.CONTEXT See also https://github.com/FixMyBerlin/fixmy.frontend/issues/994 --- src/components2/Article/FullscreenMap/LayerToggleTester.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components2/Article/FullscreenMap/LayerToggleTester.tsx b/src/components2/Article/FullscreenMap/LayerToggleTester.tsx index 2e7dff41b..e33ecdc30 100644 --- a/src/components2/Article/FullscreenMap/LayerToggleTester.tsx +++ b/src/components2/Article/FullscreenMap/LayerToggleTester.tsx @@ -21,8 +21,7 @@ export const LayerToggleTester: React.VFC = ({ setLayerlist(layers); }, [mapLayer]); - // useEffect(() => console.table(layerList), [layerList]); - + // Env.CONTEXT ist a Netlify variable. More: https://docs.netlify.com/site-deploys/overview/#deploy-contexts if ( process.env.NODE_ENV === 'production' && process.env.CONTEXT === 'production'