Skip to content

Commit

Permalink
Add comment about process.env.CONTEXT
Browse files Browse the repository at this point in the history
See also #994
  • Loading branch information
tordans committed Mar 17, 2022
1 parent 5dc47a0 commit 40ea9c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components2/Article/FullscreenMap/LayerToggleTester.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ export const LayerToggleTester: React.VFC<Props> = ({
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'
Expand Down

0 comments on commit 40ea9c0

Please sign in to comment.