From 6297e33bc15745f4f9ffd8ef7689fef6656188e0 Mon Sep 17 00:00:00 2001 From: Hanbyul Jo Date: Wed, 27 Sep 2023 10:43:59 -0400 Subject: [PATCH] Hide logs for production --- .../components/common/mapbox/layers/raster-timeseries.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/components/common/mapbox/layers/raster-timeseries.tsx b/app/scripts/components/common/mapbox/layers/raster-timeseries.tsx index 1097f8a0a..da74c24b2 100644 --- a/app/scripts/components/common/mapbox/layers/raster-timeseries.tsx +++ b/app/scripts/components/common/mapbox/layers/raster-timeseries.tsx @@ -33,7 +33,7 @@ import { } from '$utils/status'; // Whether or not to print the request logs. -const LOG = process.env.NODE_ENV !== 'production'; +const LOG = process.env.NODE_ENV === 'production'? false: true; export interface MapLayerRasterTimeseriesProps { id: string;