Skip to content

Commit

Permalink
update: remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Amaro authored and Anthony Amaro committed Aug 8, 2023
1 parent d55be53 commit 63ab968
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
14 changes: 0 additions & 14 deletions src/js/components/leftPanel/layersPanel/GenericLayerControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -438,19 +438,6 @@ const GenericLayerControl = (props: LayerControlProps): React.ReactElement => {
layerTitle = gfwLayerLabel;
}

const t = () => {
if (layer.visible && layer.id === 'TREES_MOSAIC_LANDSCAPES') {
console.log('layer', layer);
return (
<select>
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</select>
);
}
};
return (
<div
ref={props!.dndProvided!.innerRef}
Expand Down Expand Up @@ -514,7 +501,6 @@ const GenericLayerControl = (props: LayerControlProps): React.ReactElement => {

{layer?.visible && densityPicker && <CanopyDensityPicker type={layer.id} />}
{layer?.visible && layer.id === 'TREE_COVER_HEIGHT' && <TreeHeightPicker />}
{/* {t()} */}

{/*@TODO make this active when windspeed potential urls are available*/}
{/*{layer?.visible && layer.id === 'WIND_SPEED' && <WindSpeedPicker />}*/}
Expand Down
2 changes: 0 additions & 2 deletions src/js/components/sharedComponents/InfoContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ const getServiceGroupContent = async (technicalName: string): Promise<any> => {
const baseURL = 'https://production-api.globalforestwatch.org/v1/gfw-metadata';
const metaURL = `${baseURL}/${technicalName}`;

console.log('metaURL', { metaURL });

return await fetch(metaURL)
.then((res) => res.json())
.then((results) => {
Expand Down

0 comments on commit 63ab968

Please sign in to comment.